var speed = 20;
iens6 = document.all||document.getElementById;
ns4 = document.layers;
if (navigator.userAgent.indexOf('Mac',0) == -1) {
	document.write ("<link rel=stylesheet type='text/css' href='/fall2006/scripts/pc.css'>");
} else {
	document.write ("<link rel=stylesheet type='text/css' href='/fall2006/scripts/mac.css'>");
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
 window.open(theURL,winName,features);
}

function newwindow(where) {
                window.open(where+".html", "enlarge", "alwaysRaised=yes,height=730,width=272,hotkeys=no,left=0,top=0,screenX=0,screenY=0,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=yes");
}

function newindow(where) {
                window.open(where+".html", "enlarge", "alwaysRaised=yes,height=730,width=272,hotkeys=no,left=0,top=0,screenX=0,screenY=0,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no");
}

function newAindow(where) {
                window.open(where+".html", "enlarge", "alwaysRaised=yes,height=610,width=610,hotkeys=no,left=0,top=0,screenX=0,screenY=0,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=yes");
}

function newscene(where) {
                window.open(where+".html", "enlarge", "alwaysRaised=yes,height=300,width=550,hotkeys=no,left=0,top=0,screenX=0,screenY=0,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no");
}

function newVideo(where) {
                window.open("video.html", "enlarge", "alwaysRaised=yes,height=500,width=500,hotkeys=no,left=0,top=0,screenX=0,screenY=0,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no");
}



function nunet_findObj(n, d) { //v4.01
  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=nunet_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function nunet_swapImage() { //v3.0
  var i,j=0,x,a=nunet_swapImage.arguments; document.nunet_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=nunet_findObj(a[i]))!=null){document.nunet_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function nunet_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.nunet_p) d.nunet_p=new Array();
    var i,j=d.nunet_p.length,a=nunet_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.nunet_p[j]=new Image; d.nunet_p[j++].src=a[i];}}
}

function nunet_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function nunet_swapImgRestore() { //v3.0
  var i,x,a=document.nunet_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function nunet_initTimelines() {
    var ns = navigator.appName == "Netscape";
    document.nunet_Time = new Array(1);
    document.nunet_Time[0] = new Array(0);
    document.nunet_Time["Timeline1"] = document.nunet_Time[0];
    document.nunet_Time[0].nunet_Name = "Timeline1";
    document.nunet_Time[0].fps = 8;
    document.nunet_Time[0].lastFrame = 0;
    for (i=0; i<document.nunet_Time.length; i++) {
        document.nunet_Time[i].ID = null;
        document.nunet_Time[i].curFrame = 0;
        document.nunet_Time[i].delay = 1000/document.nunet_Time[i].fps;
    }
}

function movedown() {
	if (window.moveupvar) clearTimeout(moveupvar)
	if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
	crossobj.style.top=parseInt(crossobj.style.top)-speed
	else if (ns4&&crossobj.top>=(contentheight*(-1)+100))
	crossobj.top-=speed
	movedownvar=setTimeout("movedown()",100)
}

function moveup() {
	if (window.movedownvar) clearTimeout(movedownvar)
		if (iens6&&parseInt(crossobj.style.top)<=0)
	crossobj.style.top=parseInt(crossobj.style.top)+speed
	else if (ns4&&crossobj.top<=0)
	crossobj.top+=speed
	moveupvar=setTimeout("moveup()",100)
}

function stopscroll() {
if (window.moveupvar) clearTimeout(moveupvar)
if (window.movedownvar) clearTimeout(movedownvar)
}

function movetop() {
	stopscroll()
	if (iens6)
	crossobj.style.top=0
	else if (ns4)
	crossobj.top=0
}

function getcontent_height() {
	if (iens6)
	contentheight=crossobj.offsetHeight
	else if (ns4)
	document.nscontainer.document.nscontent.visibility="show"
}
window.onload=getcontent_height

// end script

function sponsorship2()
{
document.write("<IMG SRC=\'\/miami\/2009\/scripts\/sponsorgrid90.gif\' width=900 height=90 BORDER=0 ALT=\'\' USEMAP=\'#MIAMI_HORIZ_SCHED_Map\'>");
document.write("<MAP NAME=\'MIAMI_HORIZ_SCHED_Map\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'MERCEDES-BENZ\' COORDS=\'0,0,65,72\' HREF=\'\/miami\/2009\/sponsors\/mercedes-benz\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'AMERICAN EXPRESS\' COORDS=\'75,6,113,45\' HREF=\'\/miami\/2009\/sponsors\/ax\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'HALL LONGEVITY CLINIC\' COORDS=\'434,27,499,61\' HREF=\'\/miami\/2009\/sponsors\/hallongevity\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'AVEENO \' COORDS=\'176,49,222,73\' HREF=\'\/miami\/2009\/sponsors\/aveeno\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'GREATER MIAMI CONVENTION \& VISITORS BUREAU \' COORDS=\'225,48,283,75\' HREF=\'\/miami\/2009\/sponsors\/miami\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'OLO\' COORDS=\'505,54,540,79\' HREF=\'\/miami\/2009\/sponsors\/olo\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'MIAMI BOUTIQUE HOTELS \' COORDS=\'288,49,334,74\' HREF=\'\/miami\/2009\/sponsors\/miami_boutique_hotels\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'MIAMI.COM\' COORDS=\'798,10,847,40\' HREF=\'\/miami\/2009\/sponsors\/miamicom\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'RUSK\' COORDS=\'393,50,429,75\' HREF=\'\/miami\/2009\/sponsors\/rusk\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'IMPERIA\' COORDS=\'502,9,546,45\' HREF=\'\/miami\/2009\/sponsors\/imperia\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'SCUNCI\' COORDS=\'288,9,325,41\' HREF=\'\/miami\/2009\/sponsors\/scunci\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'SMASHBOX COSMETICS\' COORDS=\'225,6,284,38\' HREF=\'\/miami\/2009\/sponsors\/smashbox\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'ULTRA HD\' COORDS=\'747,62,786,79\' HREF=\'\/miami\/2009\/sponsors\/ultrahd\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'FULL FRONTAL FASHION\' COORDS=\'745,48,793,59\' HREF=\'\/miami\/2009\/sponsors\/fullfrontalfashion\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'SWIM\' COORDS=\'795,47,844,79\' HREF=\'\/miami\/2009\/sponsors\/swim\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'MIAMI HERALD\' COORDS=\'737,10,796,40\' HREF=\'\/miami\/2009\/sponsors\/miami_herald\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'APPAREL NEWS\' COORDS=\'680,48,741,79\' HREF=\'\/miami\/2009\/sponsors\/apparel-news\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'OCEANDRIVE\' COORDS=\'683,10,732,41\' HREF=\'\/miami\/2009\/sponsors\/oceandrive\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'PERONI\' COORDS=\'549,10,590,42\' HREF=\'\/miami\/2009\/sponsors\/peroni\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'CHAMBORD\' COORDS=\'631,27,670,66\' HREF=\'\/miami\/2009\/sponsors\/chambord\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'GETTY IMAGES\' COORDS=\'849,35,898,59\' HREF=\'\/miami\/2009\/sponsors\/gettyimages\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'CONTINENTAL\' COORDS=\'331,9,389,40\' HREF=\'\/miami\/2009\/sponsors\/continental\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'HAVAIANAS\' COORDS=\'70,49,113,74\' HREF=\'\/miami\/2009\/sponsors\/havaianas\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'THE RALEIGH\' COORDS=\'393,4,429,43\' HREF=\'\/miami\/2009\/sponsors\/the-raleigh\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'DHL\' COORDS=\'120,6,173,44\' HREF=\'\/miami\/2009\/sponsors\/dhl\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'BAWLS\' COORDS=\'594,9,628,42\' HREF=\'\/miami\/2009\/sponsors\/bawls\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'SMARTWATER\' COORDS=\'547,53,587,79\' HREF=\'\/miami\/2009\/sponsors\/smartwater\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'LYCRA\&reg\; \' COORDS=\'176,6,223,43\' HREF=\'\/miami\/2009\/sponsors\/lycra\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'FUZE\' COORDS=\'594,49,627,79\' HREF=\'\/miami\/2009\/sponsors\/fuze\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'EQUINOX\' COORDS=\'337,49,385,74\' HREF=\'\/miami\/2009\/sponsors\/equinox\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'BLACKBERRY\' COORDS=\'117,49,173,71\' HREF=\'\/miami\/2009\/sponsors\/blackberry\/' TARGET=\'_blank\'>");
document.write("<AREA SHAPE=\'rect\' ALT=\'IMG\' COORDS=\'424,75,468,87\' HREF=\'\/miami\/2009\/about_us\/' TARGET=\'_blank\'>");
document.write("<\/MAP>"); 
}

