// JavaScript Document

	banner = new Array(10);
	banner[0] = "  <div style='position:static;z-index:100;background-image:url(images/jun12_08/mediawin_bg.png);width:479px; height:187px;'><table width='447' height='171' border='0' cellspacing='0' cellpadding='0' style='margin-left:17px; margin-top:10px;'><tr><td width='447' valign='top' class='bannertext'><div style='margin-left:9px; margin-top:5px; margin-right:8px;'><table width='430' border='0' cellspacing='1' cellpadding='1'><tr><td><strong>GestureTek Demonstrates Gesture-Control Software with Face &amp; Hand Tracking for Android&reg; & Symbian&reg; at Mobile World Congress</strong></td></tr></table><hr align='left' width='390' size='1' noshade='noshade' />Gesture-control also enabled for Nucleus&reg; (MTK)</div></td></tr><tr><td height='41' align='right' valign='bottom' class='bannertext'><a href='/press/news.php?newsrelease=21'><img src='images/jun12_08/more_btn_2.gif' alt='More' width='57' height='16' border='0' /></a></td></tr></table></div>";
	banner[1] = "<div style='position:static;z-index:100;background-image:url(images/jun12_08/mediawin_bg.png);width:479px; height:187px;'><table width='447' height='171' border='0' cellspacing='0' cellpadding='0' style='margin-left:17px; margin-top:10px;'><tr><td width='447' valign='top' class='bannertext'><div style='margin-left:9px; margin-top:5px; margin-right:8px;'><table width='430' border='0' cellspacing='1' cellpadding='1'><tr><td width='134'><img src='images/may28_08/banner/mobileinnov.gif' alt='Moble Innnovation 2009 Global Competition' width='134' height='66' /></td><td width='269' valign='bottom'><strong id='bannerheadline'>GestureTek Named a Top Innovator in the GSMA Mobile Innovation Global Award Competition - Americas Tournament</strong></td></tr></table><hr align='left' width='390' size='1' noshade='noshade' />Company’s gesture based mobile user interface and practical applications to be showcased</div></td></tr><tr><td height='41' align='right' valign='bottom' class='bannertext'><a href='/press/news.php?newsrelease=2'><img src='images/jun12_08/more_btn_2.gif' alt='More' width='57' height='16' border='0' /></a></td></tr></table></div>";
	banner[2] = "<div style='position:static;z-index:100;background-image:url(images/jun12_08/mediawin_bg.png);width:479px; height:187px;'><table width='465' height='182' border='0' cellspacing='0' cellpadding='0'><tr><td height='13'></td><td></td><td width='237' valign='top' class='bannertext'></td></tr><tr><td width='25' rowspan='2'>&nbsp;</td><td width='203' height='171' rowspan='2' valign='top'><img src='images/jun12_08/banner/cellphone.png' width='203' height='164' /></td><td height='142' valign='top' class='bannertext'><div style='margin-left:10px;margin-right:10px;'><b id='bannerheadline'>GestureTek Steps Up Its Mobile Phone Motion Efforts</b><br><br>GestureTek announced some significant new initiatives in its mobile phone business this week at CTIA.</div></td></tr><tr><td height='21' align='right' valign='bottom' class='bannertext'><a href='/press/media.php?media=44'><img src='images/jun12_08/more_btn_2.gif' alt='More' width='57' height='16' border='0' /></a></td></tr></table></div>";
	banner[3] = "<div style='position:static;z-index:100;background-image:url(images/jun12_08/mediawin_bg.png);width:479px; height:187px;'><table width='444' height='183' border='0' cellspacing='0' cellpadding='0' style='margin-left:20px;'><tr><td height='14'></td><td></td><td width='289' valign='top' class='bannertext'></td></tr><tr><td width='4' rowspan='2'>&nbsp;</td><td width='149' height='171' rowspan='2' valign='top'><img src='images/jun12_08/banner/GSMA_gestmo.png' width='145' height='162' /></td><td height='147' valign='top' class='bannertext'><div style='margin-left:7px; margin-right:9px;'><b>GestureTek Mobile Top Winner at Mobile Innovation Global Awards</b><br><br>Judges say they selected GestureTek because of the truly innovative user interface that they believe will exponentially improve the consumer experience on mobile handsets.</div></td></tr><tr><td height='21' align='right' valign='bottom' class='bannertext'><a href='/press/news.php?newsrelease=5'><img src='images/jun12_08/more_btn_2.gif' alt='More' width='57' height='16' border='0' /></a></td></tr></table></div>";
	banner[4] = "<div style='position:static;z-index:100;background-image:url(images/jun12_08/mediawin_bg.png);width:479px; height:187px;'><table width='466' height='184' border='0' cellspacing='0' cellpadding='0'><tr><td height='13'></td><td></td><td width='292' valign='top' class='bannertext'></td></tr><tr><td width='25' rowspan='2'>&nbsp;</td><td width='149' height='171' rowspan='2' valign='top'><img src='images/jun12_08/banner/interview_mbc2008.png' width='147' height='162' /></td><td height='140' valign='top' class='bannertext'><div style='margin-left:10px;margin-right:15px;margin-top:1px;'><b>GestureTek Interviewed At Mobile World Congress</b><br><br>Judges Praise GestureTek’s Award-Winning Software and Endorse Gesture-Control for Mobile Devices.</div></td></tr><tr><td height='21' align='right' valign='bottom' class='bannertext'><a href='/videos/press/ericsson.wmv'><img src='images/jun12_08/more_btn_2.gif' alt='More' width='57' height='16' border='0' /></a></td></tr></table></div>";
	banner[5] = "<div style='position:static;z-index:100;background-image:url(images/jun12_08/mediawin_bg.png);width:479px; height:187px;'><table width='465' height='179' border='0' cellspacing='0' cellpadding='0'><tr><td height='13'></td><td></td><td valign='top' class='bannertext'></td></tr><tr><td width='25' rowspan='2'>&nbsp;</td><td width='152' height='171' rowspan='2' valign='top'><img src='images/jun12_08/banner/natpeaward.png' width='147' height='162' /></td><td height='132' valign='top' class='bannertext'><div style='margin-left:10px;margin-right:10px;'><b><strong>GestureTek Mobile Wins NATPE Mobile ++ Top 12 Award for &lsquo;hot&rsquo; mobile   application</strong></b><br><br>Company recognized for its popular gesture-controlled mobile gaming and   navigation software </div></td></tr><tr><td height='21' align='right' valign='bottom' class='bannertext'><a href='/press/news.php?newsrelease=7'><img src='images/jun12_08/more_btn_2.gif' alt='More' width='57' height='16' border='0' /></a></td></tr></table></div>";
	banner[6] = "<div style='position:static;z-index:100;background-image:url(images/jun12_08/mediawin_bg.png);width:479px; height:187px;'><table width='463' height='181' border='0' cellspacing='0' cellpadding='0'><tr><td width='463' height='159' valign='top' class='bannertext'><div style='margin-left:24px; margin-right:5px; margin-top:16px;'><img src='images/may28_08/banner/laptop.png' alt='Pocketgamer' width='149' height='50' /><hr align='left' width='350' size='1' noshade='noshade' /><strong>GestureTek Mobile Wins Prestigious <em>LAPTOP</em> Magazine Award</strong></p><p>Company&rsquo;s &lsquo;EyeMobile Engine&rsquo; Wins &lsquo;Best of CTIA Wireless and Entertainment&rsquo;   Award at San Francisco Conference</div></td></tr><tr><td height='21' align='right' valign='bottom' class='bannertext'><a href='http://www.gesturetekmobile.com/pressreleases/press_oct262007.php'><img src='images/jun12_08/more_btn_2.gif' alt='More' width='57' height='16' border='0'/></a></td></tr></table></div>";
	banner[7] = "<div style='position:static;z-index:100;background-image:url(images/jun12_08/mediawin_bg.png);width:479px; height:187px;'><table width='466' height='176' border='0' cellspacing='0' cellpadding='0'><tr><td height='12'></td><td></td><td valign='top' class='bannertext'></td></tr><tr><td width='26' rowspan='2'>&nbsp;</td><td width='155' rowspan='2' valign='top'><img src='images/jun12_08/banner/nbc_technow.png' width='147' height='162' /></td><td width='285' height='136' valign='top' class='bannertext'><strong>NBC &lsquo;Tech Now!&rsquo; Spotlights GestureTek Mobile</strong><br><br>GestureTek software lets you control computers, displays and mobile games through motion.</td></tr><tr><td height='21' align='right' valign='bottom' class='bannertext'><a href='/videos/press/nbc_technow.wmv'><img src='images/jun12_08/more_btn_2.gif' alt='More' width='57' height='16' border='0' /></a></td></tr></table></div>";
	banner[8] = "<div style='position:static;z-index:100;background-image:url(images/jun12_08/mediawin_bg.png);width:479px; height:187px;'><table width='466' height='182' border='0' cellspacing='0' cellpadding='0'><tr><td height='11'></td><td></td><td valign='top' class='bannertext'></td></tr><tr><td width='22' rowspan='2'>&nbsp;</td><td width='165' rowspan='2' valign='top'><img src='images/jun12_08/banner/chokotan_img.gif' width='148' height='171' /></td><td width='279' height='142' valign='top' class='bannertext'><strong>GestureTek&rsquo;s Mobile Gesture Recognition Technology Embedded in DoCoMo Phones</strong><br /><br />Users Navigate Menus, Maps, Games &amp; More by Tilting Handset. <br /></td></tr><tr><td height='21' align='right' valign='bottom' class='bannertext'><a href='/press/news.php?newsrelease=11'><img src='images/jun12_08/more_btn_2.gif' alt='More' width='57' height='16' border='0' /></a></td></tr></table></div>";
	banner[9] = "<div style='position:static;z-index:100;background-image:url(images/jun12_08/mediawin_bg.png);width:479px; height:187px;'><table width='377' height='200' border='0' cellpadding='3' cellspacing='0'><tr><td height='12'></td><td></td><td valign='top' class='bannertext'></td></tr><tr><td width='22' rowspan='2'>&nbsp;</td><td width='159' rowspan='2' valign='top' align='left'><img src='images/banner/darts.png' width='148' height='181' /></td><td width='178' height='179' valign='top' class='bannertext'><p style='margin-right:8px'><b>Intoducing &quot;Hot Shot Photo D.A.R.T.S.&quot; from GOSUB 60.</b></p><p style='margin-right:8px'>Using real-world movement of a mobile handset into gameplay, the game  allows you to play darts by simply aiming and moving your camera phone to control the action!<br /></p></td></tr><tr><td height='21' align='right' valign='bottom' class='bannertext'><a href='videos/hotshotdarts.mov'><img src='images/may28_08/more_btn.gif' alt='More' width='66' height='21' border='0' /></a></td></tr></table></div>";


var timer = null
var	 counter = 0


function randInt() {
	    timer=setTimeout("randInt()", 7500);
		counter++;
		if (counter >= 9){
			counter = 0;
		}
		WriteLayer('bannerad',null,banner[counter]);
}


// begin dynamically writing to the layer
function WriteLayer(ID,parentID,sText) {
	if (document.layers) {
		var oLayer = (parentID)? eval('document.' + parentID + '.document.' + ID + '.document') : document.layers[ID].document;
		oLayer.open();
		oLayer.write(sText);
		oLayer.close();
	}
	else if (document.all) document.all[ID].innerHTML = sText
	else if (parseInt(navigator.appVersion)>=5&&navigator.appName=="Netscape") {
		document.getElementById(ID).innerHTML = sText;
	}
}


// end dynamically writing to layer