// -- Burn Direct JavaScript Library// -- Global FunctionsCSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);function IsIE() { return CSAg.indexOf("MSIE") > 0;}function CSIEStyl(s) { return document.all.tags("div")[s].style; }function CSNSStyl(s) { return CSFindElement(s,0); }function CSFindElement(n,ly) { if (CSBVers < 4) return document[n];	var curDoc = ly ? ly.document : document; var elem = curDoc[n];	if (!elem) { for (var i=0;i<curDoc.layers.length;i++) {		elem = CSFindElement(n,curDoc.layers[i]); if (elem) return elem; }}	return elem;}function CSURLPopupShow(formName, popupName, target) {	var form  = CSFindElement(formName);	var popup = form.elements[popupName];	window.open(popup.options[popup.selectedIndex].value, target);	popup.selectedIndex = 0;}function goCheat(form) {location=form.cheatselect.options[form.cheatselect.selectedIndex].value;value="GO"	}function full_screen() {PreView= window.open("", "PreView", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0,width=400,height=300");PreView.document.open();PreView.document.write("<HTML><HEAD>");PreView.document.write("<TITLE>Burn Screenshots</TITLE>");PreView.document.write("</HEAD><BODY BGCOLOR=black TEXT=white>");PreView.document.write("<CENTER>");PreView.document.write('<table border="1" cellpadding="4" cellspacing="2" width="200"><tr><td bgcolor="#315aad"><div align="center">');PreView.document.write("<INPUT TYPE='button' style='color:#00ff00; background-color:black' VALUE='-- Close Window --' " + "onClick='window.close()'></div></td></tr>");PreView.document.write("<tr><td><div align='center'><IMG HSPACE=0 VSPACE=0 SRC='"+pic+"'></div></td></tr></table>");PreView.document.write("</CENTER>");PreView.document.write("</BODY></HTML>");PreView.document.close();}function todays_date(){now = new Date()day = now.getDay()date = now.getDate()month = now.getMonth()+1year = now.getFullYear()split_day = new Array()split_day[0]="Sunday"split_day[1]="Monday"split_day[2]="Tuesday"split_day[3]="Wednesday"split_day[4]="Thursday"split_day[5]="Friday"split_day[6]="Saturday"split_month = new Array()split_month[1]="January"split_month[2]="February"split_month[3]="March"split_month[4]="April"split_month[5]="May"split_month[6]="June"split_month[7]="July"split_month[8]="August"split_month[9]="September"split_month[10]="October"split_month[11]="November"split_month[12]="December"document.write("<font color='yellow'><span class='size2'>"+ split_day[day]+", "+ date + " "+ split_month[month]+" "+year+"</span></font>");}CSInit = new Array;function CSScriptInit() {if(typeof(skipPage) != "undefined") { if(skipPage) return; }idxArray = new Array;for(var i=0;i<CSInit.length;i++)	idxArray[i] = i;CSAction2(CSInit, idxArray);}CSStopExecution = false;function CSAction(array) { 	return CSAction2(CSAct, array);}function CSAction2(fct, array) { 	var result;	for (var i=0;i<array.length;i++) {		if(CSStopExecution) return false; 		var actArray = fct[array[i]];		if (actArray == null) return false;		var tempArray = new Array;		for(var j=1;j<actArray.length;j++) {			if((actArray[j] != null) && (typeof(actArray[j]) == "object") && (actArray[j].length == 2)) {				if(actArray[j][0] == "VAR") {					tempArray[j] = CSStateArray[actArray[j][1]];				}				else {					if(actArray[j][0] == "ACT") {						tempArray[j] = CSAction(new Array(new String(actArray[j][1])));					}				else					tempArray[j] = actArray[j];				}			}			else				tempArray[j] = actArray[j];		}					result = actArray[0](tempArray);	}	return result;}CSAct = new Object;CSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);function IsIE() { return CSAg.indexOf("MSIE") > 0;}function CSIEStyl(s) { return document.all.tags("div")[s].style; }function CSNSStyl(s) { return CSFindElement(s,0); }function CSFindElement(n,ly) { if (CSBVers < 4) return document[n];	var curDoc = ly ? ly.document : document; var elem = curDoc[n];	if (!elem) { for (var i=0;i<curDoc.layers.length;i++) {		elem = CSFindElement(n,curDoc.layers[i]); if (elem) return elem; }}	return elem;}function CSSetImageURL(action) {	var img = null;	if (document.images) {		if (!IsIE()) img = CSFindElement(action[1],0);		else img = document.images[action[1]];		if (img) img.src = action[2];	}}function CSActionGroup (action) {	for(var i=1;i<action.length;i++) { CSAction(new Array(action[i])); }}CSImages=new Array();function CSPreloadImage(action) {	if (document.images) { CSImages[CSImages.length]=new Image(); CSImages[CSImages.length-1].src=action[1]; }}// EOF