
var x
var screenWidth
function startScrollingDetector()
{
firstimage.style.display="block";
x=document.body.scrollTop;
if (x<358)
x=358
else if (x>2100)
x=2100
else
x=x+10
firstimage.style.top = x;

screenWidth=document.body.offsetWidth
if (screenWidth<750)
screenWidth=750
firstimage.style.right = ((screenWidth-750)/2)-15;

setInterval("scrollingDetector()", 10);
}

function scrollingDetector()
{
x=document.body.scrollTop;
if (x<358)
x=358
else if (x>2100)
x=2100
else
x=x+10
firstimage.style.top = x;

screenWidth=document.body.offsetWidth
if (screenWidth<750)
screenWidth=750
firstimage.style.right = ((screenWidth-750)/2-15);
}




function logo()
{
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="250" HEIGHT="60">');
document.write('<PARAM NAME=movie VALUE="../images/logo.swf">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=bgcolor VALUE=#ffffff>'); 
document.write('<EMBED src="../images/logo.swf" quality=high bgcolor=#ffffff  WIDTH="250" HEIGHT="60" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
document.write('</OBJECT>');
}


function top()
{
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="750" HEIGHT="250">');
document.write('<PARAM NAME=movie VALUE="../images/top.swf">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=bgcolor VALUE=#ffffff>'); 
document.write('<EMBED src="../images/top.swf" quality=high bgcolor=#ffffff  WIDTH="750" HEIGHT="250" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
document.write('</OBJECT>');
}

function top2()
{
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="750" HEIGHT="250">');
document.write('<PARAM NAME=movie VALUE="../images/top2.swf">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=bgcolor VALUE=#ffffff>'); 
document.write('<EMBED src="../images/top2.swf" quality=high bgcolor=#ffffff  WIDTH="750" HEIGHT="250" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
document.write('</OBJECT>');
}


function dictionary()
{
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="150" HEIGHT="80">');
document.write('<PARAM NAME=movie VALUE="../images/dictionary.swf">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=bgcolor VALUE=#ffffff>'); 
document.write('<EMBED src="../images/dictionary.swf" quality=high bgcolor=#ffffff  WIDTH="150" HEIGHT="80" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
document.write('</OBJECT>');
}

function article()
{
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="150" HEIGHT="80">');
document.write('<PARAM NAME=movie VALUE="../images/article.swf">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=bgcolor VALUE=#ffffff>'); 
document.write('<EMBED src="../images/article.swf" quality=high bgcolor=#ffffff  WIDTH="150" HEIGHT="80" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
document.write('</OBJECT>');
}

function note()
{
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="150" HEIGHT="80">');
document.write('<PARAM NAME=movie VALUE="../images/note.swf">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=bgcolor VALUE=#ffffff>'); 
document.write('<EMBED src="../images/note.swf" quality=high bgcolor=#ffffff  WIDTH="150" HEIGHT="80" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
document.write('</OBJECT>');
}

function calc()
{
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="150" HEIGHT="80">');
document.write('<PARAM NAME=movie VALUE="../images/calc.swf">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=bgcolor VALUE=#ffffff>'); 
document.write('<EMBED src="../images/calc.swf" quality=high bgcolor=#ffffff  WIDTH="150" HEIGHT="80" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
document.write('</OBJECT>');
}

function ques()
{
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="150" HEIGHT="80">');
document.write('<PARAM NAME=movie VALUE="../images/ques.swf">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=bgcolor VALUE=#ffffff>'); 
document.write('<EMBED src="../images/ques.swf" quality=high bgcolor=#ffffff  WIDTH="150" HEIGHT="80" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
document.write('</OBJECT>');
}


