// JavaScript Document
function danny(val,w,h,des){
//desc = val.split('.');
description = des.toUpperCase( );
//features = "width="+ w + ",height=" + h + ",scrollbars=no,resizable=no";
features = "width=600,height=600,scrollbars=no,resizable=no";
txt = "<html><head><title>"+ description +"</title><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'></head><body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' onLoad='window.focus();'><img src='images/" + val + "'></body></html>";
//getElementById("dan").window.close();
values = "fximg.htm?v="+val+"&wid="+w+"&hei="+h+"&de="+des;
//dan = window.open(values,"just", features);
dan = window.open(values,"just", features);
//dan.document.write(txt);
dan.document.bgColor="#ffffff"
dan.moveTo(30,30);
dan.focus();
//window.open(val,'danny',' width=900,height=563,scrollbars=no,resizable=no');
}

function fx(page,menu){
	//alert(menu);
	document.getElementById("fxtreme").setVariable("PresentVal",page);
	document.getElementById("fxtreme").setVariable("PresentMenu",menu);
}