// JavaScript Document

function mainOpen(w,h) {
	//w=400;
	//h=300;
	cx=(screen.availWidth-w)/2;
	cy=(screen.availHeight-h)/2;
		window.open
("fs.html","","scrollbars=no,resizable=yes,width="+w+",height="+h+
",left="+cx+",top="+cy);
}

function fullWin() { 
	newWin=window.open('fs.html','fullsize','toolbar=no,location=no,status=no,resizable=yes')
	if (document.all) {
		newWin.moveTo(0,0)
		newWin.resizeTo(screen.width,screen.height)
	}
}

function flash(url, width, height, allowDomain) {
	if (allowDomain = "") {allowDomain = false;}
	try {document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + width + '" height="' + height + '">');
		document.write('<param name="movie" value="' + url + '">');
	if (allowDomain = true) {
		document.write('<param name="allowScriptAccess" value="sameDomain"/>');}
		document.write('<param name="quality" value="high"><param name="wmode" value="transparent"><PARAM NAME="menu" VALUE="false">');
		document.write('<embed src="' + url + '" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '" menu="false"></embed>');
		document.write('</object>');} catch(E){}
}
function popView() { 
	popObj=document.getElementById('pop-img');
	if (popObj.style.display=='block') {
		popObj.style.display='none';	
	}
}
function pop1View() { 
	pop1Obj=document.getElementById('pop-img01');
	if (pop1Obj.style.display=='block') {
		pop1Obj.style.display='none';	
	}
}

