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='/miami/2008/scripts/pc.css'>");
} else {
        document.write ("<link rel=stylesheet type='text/css' href='/miami/2008/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=610,width=225,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=550,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 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=400,width=400,hotkeys=no,left=0,top=0,screenX=0,screenY=0,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no");
}


function newScenew(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 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 sponsorship()
{
document.write(" <br><IMG SRC=\'\/miami\/2008\/img\/spacer.gif\' border=0  USEMAP=\'\#sponsors_horz_Map2\'> ");
document.write(" <IMG SRC=\'\/miami\/2008\/images\/sponsorgrid.gif\' WIDTH=900 BORDER=0 ALT=\'\' USEMAP=\'#MIAMI_HORIZ_SCHED_Map\'>  ");
document.write(" <MAP NAME=\'MIAMI_HORIZ_SCHED_Map\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'VIDA TEQUILA\' COORDS=\'650,0,740,40\' HREF=\'\/miami\/2008\/sponsors\/vida_tequila\/' TARGET=\'_blank\'>  ")
document.write(" <AREA SHAPE=\'rect\' ALT=\'CUCA FRESCA\' COORDS=\'750,1,794,42\' HREF=\'\/miami\/2008\/sponsors\/cuca_fresca\/' TARGET=\'_blank\'>  ")
document.write(" <AREA SHAPE=\'rect\' ALT=\'CHIC\' COORDS=\'864,4,899,45\' HREF=\'\/miami\/2008\/sponsors\/chic\/' TARGET=\'_blank\'>  ")
document.write(" <AREA SHAPE=\'rect\' ALT=\'ULTRA HD\' COORDS=\'836,55,898,72\' HREF=\'\/miami\/2008\/sponsors\/ultrahd\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'SWIM\' COORDS=\'755,53,821,71\' HREF=\'\/miami\/2008\/sponsors\/swim\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'APPAREL NEWS\' COORDS=\'651,53,744,73\' HREF=\'\/miami\/2008\/sponsors\/apparel-news\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'OCEANDRIVE\' COORDS=\'572,50,633,71\' HREF=\'\/miami\/2008\/sponsors\/oceandrive\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'PERONI\' COORDS=\'568,10,625,37\' HREF=\'\/miami\/2008\/sponsors\/peroni\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'SUNSILK\' COORDS=\'487,5,546,39\' HREF=\'\/miami\/2008\/sponsors\/sunsilk\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'NIVEA\' COORDS=\'419,4,457,50\' HREF=\'\/miami\/2008\/sponsors\/nivea\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'The new AT&T\' COORDS=\'328,51,416,73\' HREF=\'\/miami\/2008\/sponsors\/att\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'CONTINENTAL\' COORDS=\'447,51,550,73\' HREF=\'\/miami\/2008\/sponsors\/continental\/' TARGET=\'_blank\'>  ")
document.write(" <AREA SHAPE=\'rect\' ALT=\'HAVAIANAS\' COORDS=\'320,4,382,40\' HREF=\'\/miami\/2008\/sponsors\/havaianas\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'THE RALEIGH\' COORDS=\'281,34,319,74\' HREF=\'\/miami\/2008\/sponsors\/the-raleigh\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'DHL\' COORDS=\'195,9,278,36\' HREF=\'\/miami\/2008\/sponsors\/dhl\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'MIAMI\' COORDS=\'193,43,258,74\' HREF=\'\/miami\/2008\/sponsors\/miami\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'SMASHBOX STUDIOS\' COORDS=\'104,53,175,73\' HREF=\'\/miami\/2008\/sponsors\/smashbox\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'LYCRA\' COORDS=\'110,7,173,43\' HREF=\'\/miami\/2008\/sponsors\/lycra\/' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'Mercedes-Benz\' COORDS=\'0,0,91,72\' HREF=\'\/miami\/2008\/sponsors\/mercedes-benz\/' TARGET=\'_blank\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'Imperia\' COORDS=\'803,3,850,43\' HREF=\'\/miami\/2008\/sponsors\/imperia\/' TARGET=\'_blank\'> ");
document.write(" <\/MAP><br><\/center> ");
document.write("<br><img src='\/miami\/2008\/images\/spacer.gif' width=7 height=1><a href='\/miami\/2008\/disclaimer\/'><font size=1 color=999999 face=\'gill-sans,ms sans serif,helvetica\'>&copy; 2007 IMG Fashion | Disclaimer<\/a> ");

}













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
}



// end script

