function flash(c,d,e) {
 var flash_tag = "";
 flash_tag = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
 flash_tag +='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ';
 flash_tag +='WIDTH="'+c+'" HEIGHT="'+d+'" >';
 flash_tag +='<param name="movie" value="'+e+'">';
 flash_tag +='<param name="quality" value="high">';
 flash_tag +='<param name="wmode" value="transparent" />';
 flash_tag +='<embed src="'+e+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
 flash_tag +='type="application/x-shockwave-flash"  WIDTH="'+c+'" HEIGHT="'+d+'"></embed></object>'

 document.write(flash_tag);

}
	function showAnswer(val)
	{
		if(document.getElementById("toggle").value != "")
		{
			var preSeq = "si" + document.getElementById("toggle").value;
			document.getElementById(preSeq).style.display = "none";			
		}

		if (val != document.getElementById("toggle").value)
		{
			document.getElementById("si" + val).style.display = "";
			document.getElementById("toggle").value = val;
		}
		else
		{
			document.getElementById("toggle").value = "";
		}

		if (window.parentResize) parentResize();
	}
	

function openNewWindow(window) {
open (window,"NewWindow","left=0, top=0, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, width=880, height=660");
}
function openPopupWindow(window) {
open (window,"NewWindow","left=0, top=0, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=400, height=600");
}
// ijweb
function openPopupEbook(window) {
open (window,"NewWindow","left=0, top=0, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=1200, height=900");
}

<!--size:400*539-->
function setCookie( name, value, expiredays )
{
	var todayDate = new Date();
	todayDate.setDate( todayDate.getDate() + expiredays );
	document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}
<!-- popup start--> 
	var x = 0; 
	var y = 0;
	drag = 0; 
	move = 0; 
	window.document.onmousemove = mouseMove;
	window.document.onmousedown = mouseDown; 
	window.document.onmouseup = mouseUp; 
	window.document.ondragstart = mouseStop; 

	function mouseUp() 
	{ 
		move = 0;
	} 

	function mouseDown() 
	{
		if (drag) 
		{ 
			clickleft = window.event.x - parseInt(dragObj.style.left); 
			clicktop = window.event.y - parseInt(dragObj.style.top); 
			dragObj.style.zIndex += 1; 
			move = 1;
		} 
	} 

	function mouseMove() 
	{ 
		if (move) 
		{ 
			dragObj.style.left = window.event.x - clickleft; 
			dragObj.style.top = window.event.y - clicktop; 
		} 
	} 

	function mouseStop() 
	{ 
		window.event.returnValue = false; 
	} 
<!-- popup end --> 

