//random showcase
function randShowcase()
{
   showCase = new Array(2);

/*   showCase[0] = "<tr><td align='center' valign='top'><a href='oc_1_showcase_nederlanderworld.asp' title='Nederlander Worldwide'><img src='images/showcase/www.nederlanderworld.com_screen.jpg' width='100' height='93' border='0' alt='Nederlander Worldwide'></a></td></tr><tr><td valign='top' class='showcaseSide'><br><strong><a href='oc_1_showcase_nederlanderworld.asp' title='Nederlander Worldwide'>Nederlander Worldwide</a></strong><br><br>Nederlander Worldwide Entertainment leads the way in developing innovative live entertainment projects...<br><br><div align='right'><a href='oc_1_showcase_nederlanderworld.asp' title='read more'><img src='images/btn_readmore.gif' alt='read more' width='57' height='12' border='0'></a></div></td></tr>";*/

/*   showCase[0] = "<tr><td align='center' valign='top'><a href='oc_1_showcase_mtishows.asp' title='MTI Shows'><img src='images/showcase/www.mtishows.com_screen.jpg' width='100' height='93' border='0' alt='MTI Shows'></a></td></tr><tr><td valign='top' class='showcaseSide'><br><strong><a href='oc_1_showcase_mtishows.asp' title='MTI Shows'>MTI Shows</a></strong><br><br>Music Theatre International is one of the world's major dramatic licensing agencies...<br><br><div align='right'><a href='oc_1_showcase_mtishows.asp' title='read more'><img src='images/btn_readmore.gif' alt='read more' width='57' height='12' border='0'></a></div></td></tr>";*/

/*   showCase[1] = "<tr><td align='center' valign='top'><a href='oc_1_showcase_unionsecurities.asp' title='Union-Securities'><img src='images/showcase/www.union-securities.com_screen.jpg' width='100' height='93' border='0' alt='Union-Securities'></a></td></tr><tr><td valign='top' class='showcaseSide'><br><strong><a href='oc_1_showcase_unionsecurities.asp' title='Union-Securities'>Union-Securities</a></strong><br><br>CBI integrated components from StockGroup and DataPhile into one...<br><br><div align='right'><a href='oc_1_showcase_unionsecurities.asp' title='read more'><img src='images/btn_readmore.gif' alt='read more' width='57' height='12' border='0'></a></div></td></tr>";*/

/*   showCase[2] = "<tr><td align='center' valign='top'><a href='oc_1_showcase_bevchek.asp' title='Bevchek'><img src='images/showcase/www.bevchek.com_screen.jpg' width='100' height='93' border='0' alt='Bevchek'></a></td></tr><tr><td valign='top' class='showcaseSide'><br><strong><a href='oc_1_showcase_bevchek.asp' title='Bevchek'>Bevchek</a></strong><br><br>Bevchek Global Systems Inc. is a North American technology company...<br><br><div align='right'><a href='oc_1_showcase_bevchek.asp' title='read more'><img src='images/btn_readmore.gif' alt='read more' width='57' height='12' border='0'></a></div></td></tr>";*/

/*   showCase[4] = "<tr><td align='center' valign='top'><a href='oc_1_showcase_gigaluma.asp' title='GigaLuma Technologies'><img src='images/showcase/www.gigaluma.com_screen.jpg' width='100' height='93' border='0' alt='GigaLuma Technologies'></a></td></tr><tr><td valign='top' class='showcaseSide'><br><strong><a href='oc_1_showcase_gigaluma.asp' title='GigaLuma Technologies'>GigaLuma Technologies</a></strong><br><br>GigaLuma is a full-service developer of custom E-Learning solutions....<br><br><div align='right'><a href='oc_1_showcase_gigaluma.asp' title='read more'><img src='images/btn_readmore.gif' alt='read more' width='57' height='12' border='0'></a></div></td></tr>";*/
   
/*   showCase[5] = "<tr><td align='center' valign='top'><a href='oc_1_showcase_vfallstheplay.asp' title='Viagara Falls The Play'><img src='images/showcase/www.vfallstheplay.com_screen.jpg' width='100' height='93' border='0' alt='Viagara Falls The Play'></a></td></tr><tr><td valign='top' class='showcaseSide'><br><strong><a href='oc_1_showcase_vfallstheplay.asp' title='Viagara Falls The Play'>Viagara Falls The Play</a></strong><br><br>Viagara Falls the Play, a new comedy by Lou Cutell and Joao Machado....<br><br><div align='right'><a href='oc_1_showcase_vfallstheplay.asp' title='read more'><img src='images/btn_readmore.gif' alt='read more' width='57' height='12' border='0'></a></div></td></tr>";*/

   showCase[0] = "<tr><td align='center' valign='top'><a href='oc_1_showcase_clearlywaterfilters.asp' title='Clearly Water Filters'><img src='images/showcase/www.clearlywaterfilters.com_screen.jpg' width='100' height='93' border='0' alt='Clearly Water Filters'></a></td></tr><tr><td valign='top' class='showcaseSide'><br><strong><a href='oc_1_showcase_clearlywaterfilters.asp' title='Clearly Water Filters'>Clearly Water Filters</a></strong><br><br>Clearly Water Filters carries a complete line of refrigerator water filters...<br><br><div align='right'><a href='oc_1_showcase_clearlywaterfilters.asp' title='read more'><img src='images/btn_readmore.gif' alt='read more' width='57' height='12' border='0'></a></div></td></tr>";

/*   showCase[6] = "<tr><td align='center' valign='top'><a href='oc_1_showcase_cbinetwork.asp' title='CBI Network'><img src='images/showcase/www.cbinetwork.com_screen.jpg' width='100' height='93' border='0' alt='CBI Network'></a></td></tr><tr><td valign='top' class='showcaseSide'><br><strong><a href='oc_1_showcase_cbinetwork.asp' title='CBI Network'>CBI Network</a></strong><br><br>CBI Network offers temperature, humidity and wetness monitoring...<br><br><div align='right'><a href='oc_1_showcase_cbinetwork.asp' title='read more'><img src='images/btn_readmore.gif' alt='read more' width='57' height='12' border='0'></a></div></td></tr>";*/

   showCase[1] = "<tr><td align='center' valign='top'><a href='oc_1_showcase_ticketcard.asp' title='TicketCARD'><img src='images/showcase/www.ticketcard.ca_screen.jpg' width='100' height='93' border='0' alt='TicketCARD'></a></td></tr><tr><td valign='top' class='showcaseSide'><br><strong><a href='oc_1_showcase_ticketcard.asp' title='TicketCARD'>TicketCARD</a></strong><br><br>TicketCARD, the integrated, multi-function fully customized...<br><br><div align='right'><a href='oc_1_showcase_ticketcard.asp' title='read more'><img src='images/btn_readmore.gif' alt='read more' width='57' height='12' border='0'></a></div></td></tr>";

   index = Math.floor(Math.random() * showCase.length);
   
   document.write(showCase[index] + "\n");
   
/*   document.write("<br>");*/
}

function swapMovies001() {
    document.getElementById("RFID_Vid001").style.display = "block";
    document.getElementById("vid_thmb_001").style.opacity = "1";
    document.getElementById("vid_thmb_001").style.filter = "alpha(opacity=100)";

    document.getElementById("RFID_Vid002").style.display = "none";
    document.getElementById("vid_thmb_002").style.opacity = "0.3";
    document.getElementById("vid_thmb_002").style.filter = "alpha(opacity=30)";

    document.getElementById("RFID_Vid003").style.display = "none";
    document.getElementById("vid_thmb_003").style.opacity = "0.3";
    document.getElementById("vid_thmb_003").style.filter = "alpha(opacity=30)";
}

function swapMovies002() {
    document.getElementById("RFID_Vid001").style.display = "none";
    document.getElementById("vid_thmb_001").style.opacity = "0.3";
    document.getElementById("vid_thmb_001").style.filter = "alpha(opacity=30)";

    document.getElementById("RFID_Vid002").style.display = "block";
    document.getElementById("vid_thmb_002").style.opacity = "1";
    document.getElementById("vid_thmb_002").style.filter = "alpha(opacity=100)";

    document.getElementById("RFID_Vid001").style.display = "none";
    document.getElementById("vid_thmb_003").style.opacity = "0.3";
    document.getElementById("vid_thmb_003").style.filter = "alpha(opacity=30)";
}

function swapMovies003() {
    document.getElementById("RFID_Vid001").style.display = "none";
    document.getElementById("vid_thmb_001").style.opacity = "0.3";
    document.getElementById("vid_thmb_001").style.filter = "alpha(opacity=30)";

    document.getElementById("RFID_Vid002").style.display = "none";
    document.getElementById("vid_thmb_002").style.opacity = "0.3";
    document.getElementById("vid_thmb_002").style.filter = "alpha(opacity=30)";

    document.getElementById("RFID_Vid003").style.display = "block";
    document.getElementById("vid_thmb_003").style.opacity = "1";
    document.getElementById("vid_thmb_003").style.filter = "alpha(opacity=100)";
}

function opWin(w,h,url,nam) {
 specs = "toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=no,width=" + w + ",height=" + h
	window.open(url,nam,specs)
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

