function ssHomepage()
{
	document.writeln('<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="270" height="207">');
	document.writeln('<param name="movie" value="../swf/demo.swf">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="wmode" value="window">');
	document.writeln('<embed src="../swf/demo.swf" quality="high" menu="false" wmode="window" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="270" height="207"></embed>');
	document.writeln('</object>');
}

function ssHomepage_login()
{
    document.writeln('<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="780" height="299">');
    document.writeln('<param name="movie" value="../swf/kids_science.swf">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="wmode" value="window">');
	document.writeln('<embed src="../swf/kids_science.swf" quality="high" menu="false" wmode="window" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="299"></embed>');
	document.writeln('</object>');
}
function ssHomepage_demo()
{
    document.writeln('<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="270" height="207">');
    document.writeln('<param name="movie" value="../swf/demo.swf">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="wmode" value="window">');
	document.writeln('<embed src="../swf/demo.swf" quality="high" menu="false" wmode="window" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="270" height="207"></embed>');
	document.writeln('</object>');
}

function sideAnimation()
{
	document.writeln('<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="300" height="220">');
	document.writeln('<param name="movie" value="../swf/sideAnimation.swf">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="wmode" value="window">');
	document.writeln('<embed src="../swf/sideAnimation.swf" quality="high" menu="false" wmode="window" type="application/x-shockwave-flash" width="300" height="220"></embed>');
	document.writeln('</object>');
}

function about_ss()
{
	document.writeln('<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="400" height="220">');
	document.writeln('<param name="movie" value="../swf/about_ss.swf">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="wmode" value="window">');	
	document.writeln('<embed src="../swf/about_ss.swf" quality="high" menu="false" wmode="window" type="application/x-shockwave-flash" width="400" height="220"></embed>');
	document.writeln('</object>');
}

function home_animation()
{
	document.writeln('<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="350" height="30">');
	document.writeln('<param name="movie" value="../swf/home_animation.swf">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="wmode" value="window">');
	document.writeln('<embed src="../swf/home_animation.swf" quality="high" menu="false" wmode="window" type="application/x-shockwave-flash" width="350" height="30"></embed>');
	document.writeln('</object>');
}

function parents_playnow()
{
	document.writeln('<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="232" height="59">');
	document.writeln('<param name="movie" value="../swf/paly_now.swf">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="wmode" value="window">');
	document.writeln('<embed src="../swf/paly_now.swf" quality="high" menu="false" wmode="window" type="application/x-shockwave-flash" width="232" height="59"></embed>');
	document.writeln('</object>');
}
//for widget
function contest_top()
{
	document.writeln('<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="565" height="96">');
	document.writeln('<param name="movie" value="../swf/top_widget.swf">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="wmode" value="window">');
	document.writeln('<embed src="../swf/top_widget.swf" quality="high" menu="false" wmode="window" type="application/x-shockwave-flash" width="565" height="96"></embed>');
	document.writeln('</object>');
}
function contest_bottom()
{
	document.writeln('<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="565" height="34">');
	document.writeln('<param name="movie" value="../swf/bottom_widget.swf">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="wmode" value="window">');
	document.writeln('<embed src="../swf/bottom_widget.swf" quality="high" menu="false" wmode="window" type="application/x-shockwave-flash" width="565" height="34"></embed>');
	document.writeln('</object>');
}

//end for widget

function question_bg_final(level,fname)
{
	document.writeln('<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="555" height="400">');
	document.writeln('<param name="movie" value="../swf/question_bg_final.swf?level='+ level +'&fname='+ fname +'">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="wmode" value="window">');	
	document.writeln('<embed src="../swf/question_bg_final.swf?level='+ level +'&fname='+ fname +'" quality="high" menu="false" wmode="window" type="application/x-shockwave-flash" width="555" height="400"></embed>');
	document.writeln('</object>');
}

function showposkeyfull(id)
{
	var obj;	
	obj='<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="535" height="375">';
  	obj+='<param name="movie" value="../swf/zoomedFull.swf">'
  	obj+='<param name="quality" value="high">';
  	obj+='<param name="menu" value="false">';
  	obj+='<param name="wmode" value="window">';	
	obj+='<embed src="../swf/zoomedFull.swf" quality="high" menu="false" wmode="window" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="535" height="375"></embed>';
	obj+='</object>';
	document.getElementById(id).innerHTML=obj;
}
function showposekysmall()
{
document.writeln('<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="143" height="99">');
document.writeln('<param name="movie" value="../swf/zoomedSmall.swf">');
document.writeln('<param name="quality" value="high">');
document.writeln('<param name="menu" value="false">');
document.writeln('<param name="wmode" value="window">');
document.writeln('<embed src="../swf/zoomedSmall.swf" menu="false" wmode="window" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="143" height="99"></embed>');
document.writeln('</object>');
}
function parents_clickbtn()
{
	//window.location.href="../home/parentsguide.php";
document.writeln('<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="82" height="81">');
document.writeln('<param name="movie" value="../swf/parents_clicks.swf">');
document.writeln('<param name="quality" value="high">');
document.writeln('<param name="menu" value="false">');
document.writeln('<param name="wmode" value="window">');
document.writeln('<embed src="../swf/parents_clicks.swf" quality="high" menu="false" wmode="window" type="application/x-shockwave-flash" width="82" height="81"></embed>');
document.writeln('</object>');

}
function quiz_disp()
{
document.writeln('<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="173%" height="108%">');
document.writeln('<param name="movie" value="../swf/index_quiz.swf">');
document.writeln('<param name="quality" value="high">');
document.writeln('<param name="menu" value="false">');
document.writeln('<param name="wmode" value="window">');
document.writeln('<embed src="../swf/index_quiz.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="173%" height="108%"></embed>');
document.writeln('</object>'); 
}
function open_featuredquiz()
{
//alert(quiz_subtopicid);
loadlogin('FQ',quiz_subtopicid);
}
function new_reg_poskey()
{
//window.location.href="../home/parentsguide.php";
document.writeln('<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="82" height="81">');
document.writeln('<param name="movie" value="../swf/newreg.swf">');
document.writeln('<param name="quality" value="high">');
document.writeln('<param name="menu" value="false">');
document.writeln('<param name="wmode" value="window">');
document.writeln('<embed src="../swf/newreg.swf" quality="high" menu="false" wmode="window" type="application/x-shockwave-flash" width="82" height="81"></embed>');
document.writeln('</object>');

}
function popular_popup()
{
	document.writeln('<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="385" height="356">');
	document.writeln('<param name="movie" value="../swf/popular_popup_alert.swf">');
	document.writeln('<param name="quality" value="high">');
	document.writeln('<param name="menu" value="false">');
	document.writeln('<param name="wmode" value="window">');
	document.writeln('<embed src="../swf/popular_popup_alert.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="385" height="356"></embed>');
	document.writeln('</object>'); 
}

