



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='/newyork\/fall2007/scripts/pc.css'>");
} else {
	document.write ("<link rel=stylesheet type='text/css' href='/newyork\/fall2007/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 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 sponsorship()
{
document.write("<br><IMG SRC=\'\/ny\/fall2007\/images\/blank.gif' border=0 width=40 height=1> <IMG SRC=\'\/newyork\/fall2007\/images\/LOGOGRID_black.gif\' border=0  USEMAP=\'\#sponsors_horz_Map2\'> ");
document.write(" <MAP NAME=\'sponsors_horz_Map2\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'WINES OF GERMANY\' COORDS=\'835,31,906,65\' HREF=\'\/newyork\/fall2007\/sponsors\/wines_of_germany\/\' TARGET=\'_blank\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'CHAMBORD\' COORDS=\'778,53,841,91\' HREF=\'\/newyork\/fall2007\/sponsors\/chambord\/\' TARGET=\'_blank\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'IMPERIA  \' COORDS=\'784,11,830,52\' HREF=\'\/newyork\/fall2007\/sponsors\/imperia\/\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'MOET\' COORDS=\'701,52,776,95\' HREF=\'\/newyork\/fall2007\/sponsors\/moet\/\' TARGET=\'_blank\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'PERONI\' COORDS=\'704,12,773,50\' HREF=\'\/newyork\/fall2007\/sponsors\/peroni\/\' TARGET=\'_blank\'> ");
document.write("<AREA SHAPE=\'rect\' ALT=\'ULTRA HD\' COORDS=\'608,56,681,86\' HREF=\'\/newyork\/fall2007\/sponsors\/ultra_hd\/\' TARGET=\'_blank\'>  ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'FULL FRONTAL FASHION\' COORDS=\'610,33,680,54\' HREF=\'\/newyork\/fall2007\/sponsors\/full_frontal_fashion\/\' TARGET=\'_blank\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'MODERN LUXURY\' COORDS=\'506,57,598,82\' HREF=\'\/newyork\/fall2007\/sponsors\/modern_luxury\/' TARGET=\'_blank\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'NY TIMES\' COORDS=\'510,30,603,54\' HREF=\'\/newyork\/fall2007\/sponsors\/ny_times\/\' TARGET=\'_blank\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'JUDITH RIPKA\' COORDS=\'397,62,490,91\' HREF=\'\/newyork\/fall2007\/sponsors\/judith_ripka\/\' TARGET=\'_blank\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'LYCRA\' COORDS=\'400,10,483,52\' HREF=\'\/newyork\/fall2007\/sponsors\/lycra\/\' TARGET=\'_blank\'> ");
document.write("  <AREA SHAPE=\'rect\' ALT=\'HEART TRUTH\' COORDS=\'307,59,397,96\' HREF=\'\/newyork\/fall2007\/sponsors\/the_heart_truth\/\' TARGET=\'_blank\'> ");
document.write("  <AREA SHAPE=\'rect\' ALT=\'MAC\' COORDS=\'316,14,392,51\' HREF=\'\/newyork\/fall2007\/sponsors\/mac\/\' TARGET=\'_blank\'>");
document.write(" <AREA SHAPE=\'rect\' ALT=\'ONE SCOTTSDALE\' COORDS=\'242,3,296,50\' HREF=\'\/newyork\/fall2007\/sponsors\/one_scottsdale\/\' TARGET=\'_blank\'> ");
document.write("  <AREA SHAPE=\'rect\' ALT=\'CINGULAR\' COORDS=\'135,56,235,93\' HREF=\'\/newyork\/fall2007\/sponsors\/cingular\/\' TARGET=\'_blank\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'DHL\' COORDS=\'147,13,228,47\' HREF=\'\/newyork\/fall2007\/sponsors\/dhl\/\' TARGET=\'_blank\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'Mercedes-Benz\' COORDS=\'26,18,119,84\' HREF=\'\/newyork\/fall2007\/sponsors\/mercedes-benz\/\' TARGET=\'_blank\'> ");
document.write(" <AREA SHAPE=\'rect\' ALT=\'W HOTELS\' COORDS=\'246,55,295,99\' HREF=\'\/newyork\/fall2007\/sponsors\/w_hotels\/\' TARGET=\'_blank\'> ");
document.write("  ");
document.write("  ");
document.write("  ");
document.write(" <\/MAP> ");


}

function footer()
{

document.write('<p align=right><font size=1 color=c9c9c9 class=sub>\&copy\; 2007 by IMG Fashion \| <a href=\"\/newyork\/fall2007\/disclaimer\/\"><font size=1 color=c9c9c9 class=sub>Disclaimer<\/a>');
document.write('<br>');

}






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='/newyork/fall2007/scripts/pc.css'>");
} else {
	document.write ("<link rel=stylesheet type='text/css' href='/newyork/fall2007/scripts/mac.css'>");
} 







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




