/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
//add event function from http://www.dynarch.com/projects/calendar/
function addAnEvent(el, evname, func) {
    if (el.attachEvent) { // IE
        el.attachEvent("on" + evname, func);
    } else if (el.addEventListener) { // Gecko / W3C
        el.addEventListener(evname, func, true);
    } else {
        el["on" + evname] = func;
    }
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
function targetNew(anchor) {
	window.open(anchor.href);
	return false;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
var imgw;
function imageWin(image, x, y, caption) {
	if (imgw) imgw.close();
	imgw=window.open("", "arantiusImageWindow", "width="+(x+20)+",height="+(y+75)+",status=no");
	imgw.document.open();
	imgw.document.write("<html><head><title>Arantius.com - Image</title></head><body>");
	imgw.document.write("<div style='text-align: center;' onclick='window.close();'>");
	imgw.document.write("<img src='"+image+"'><br />");
	imgw.document.write(caption);
	imgw.document.write("</div></body></html>");
	imgw.document.close();
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
function verifyPostForm(f) {
	if (''==f.subject.value) alert('You must provide a subject.');
	else if (''==f.comment.value) alert('You must enter a comment.');
	else return true;
	return false;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
//frame breaker
if (top!=self) top.location.href=self.location.href;
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
var google_ad_client = "pub-4766989499348746";
var google_ad_width = 468;
var google_ad_height = 15;
var google_ad_format = "468x15_0ads_al";
var google_ad_channel ="0642364825";
var google_color_border = "FFFFFF";
var google_color_bg = "FFFFFF";
var google_color_link = "0000CC";
var google_color_url = "0000CC";
var google_color_text = "000000";
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
if (String(document.cookie).match(/doReload=1/)) {
	document.cookie='doReload=2;path=/';
	document.location.reload();
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
