function getImage(vttype,opt,scurl,x,y){opt=opt||'';scurl=scurl||'';x=x||1;y=y||1;cb=new Date();cb=cb.getTime();durl=document.URL;durl=durl.replace(/&/g,'|');ref=document.referrer;ref=ref.replace(/&/g,'|');document.write('<img src="/image.php?'+'vtt='+vttype+'&'+'durl='+durl+'&'+'scurl='+scurl+'&'+'referer='+ref+'&'+'cb='+cb+
opt+'" alt="" width="'+x+'" height="'+y+'"'+' />');}
function showLayer2(layerName,e,content)
{if(document.layers){thisbrowser="NN4";}
if(document.all){thisbrowser="ie"}
if(!document.all&&document.getElementById){thisbrowser="NN6";}
if(document.getElementById)
{var targetElement=document.getElementById(layerName);if(thisbrowser=="NN6"){ypos=e.pageY;ypos=ypos+10;xpos=e.pageX;targetElement.style.top=ypos+"px";targetElement.style.left=xpos+"px";}
else{targetElement.style.top=e.clientY+document.body.scrollTop+10;targetElement.style.left=e.clientX+document.body.scrollLeft;}
if(content!=null&&content!=""){targetElement.innerHTML=content;}
targetElement.style.visibility='visible';}}
function hideLayer2(layerName)
{if(document.getElementById)
{var targetElement=document.getElementById(layerName);targetElement.style.visibility='hidden';}}
function toggleLayer2(layerName,e)
{if(document.layers){thisbrowser="NN4";}
if(document.all){thisbrowser="ie"}
if(!document.all&&document.getElementById){thisbrowser="NN6";}
if(document.getElementById)
{var targetElement=document.getElementById(layerName);if(targetElement.style.visibility=='visible'){targetElement.style.visibility='hidden';}
else{if(thisbrowser=="NN6"){ypos=e.pageY;ypos=ypos+10;targetElement.style.top=ypos+"px";}
else{targetElement.style.top=e.clientY+document.body.scrollTop+10;}
targetElement.style.visibility="visible";}}}
function displayDepartment(departmentList)
{URL="http://www.designerapparel.com/"+departmentList[departmentList.selectedIndex].value+".html";window.location.href=URL;}
function bookmarksite(title,url)
{if(document.all)
window.external.AddFavorite(url,title);else if(window.sidebar)
window.sidebar.addPanel(title,url,"")}
var google_adnum=0;var google_ad_index=0;var split=false;var afs_ads=null;var is_afs=false;var afs_second_half=false;function google_afs_request_done(google_ads){is_afs=true;google_ad_request_done(google_ads);is_afs=false;afs_ads=google_ads;}
function display_rest_of_afs(){afs_second_half=true;google_ad_request_done(afs_ads);afs_second_half=false;afs_ads=null;}
function google_ad_request_done(google_ads){var s='';var i;var adnum_add=1;if(google_ads.length==0){return;}
if(google_ads[0].type=="flash"){s+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+
google_ad.image_width+'" HEIGHT="'+
google_ad.image_height+'"> <PARAM NAME="movie" VALUE="'+
google_ad.image_url+'">'+'<PARAM NAME="quality" VALUE="high">'+'<PARAM NAME="AllowScriptAccess" VALUE="never">'+'<EMBED src="'+
google_ad.image_url+'" WIDTH="'+
google_ad.image_width+'" HEIGHT="'+
google_ad.image_height+'" TYPE="application/x-shockwave-flash"'+' AllowScriptAccess="never" '+' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';s+='<br/><div style="width10px; float:right;"><a href=\"'+google_info.feedback_url+'\" style="color:000000">Ads&nbsp;by&nbsp;Google</a></div>';}else if(google_ads[0].type=="image"){s+='<a target="_blank" href="'+
google_ads[0].url+'" target="_top" title="go to '+
google_ads[0].visible_url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+
google_ads[0].visible_url+'\';return true"><img border="0" src="'+
google_ads[0].image_url+'"width="'+
google_ads[0].image_width+'"height="'+
google_ads[0].image_height+'"></a>';s+='<br/><div style="width10px; float:right;"><a href=\"'+google_info.feedback_url+'\" style="color:000000">Ads&nbsp;by&nbsp;Google</a></div>';}else if(google_ads[0].type=="html"){s+=google_ads[0].snippet;}else{if(google_ads.length==1&&!is_afs){s+='<a target="_blank" style="text-decoration:none" href="'+
google_ads[0].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+
google_ads[0].visible_url+'\';return true"> <span style="text-decoration:underline;font-size:20pt"> <b>'+
google_ads[0].line1+'</b><br></span></a> <span style="color:#000000;font-size:16pt">'+
google_ads[0].line2+'&nbsp;'+
google_ads[0].line3+'<br></span> <span><a target="_blank" style="color:#008000;font-size:14pt;text-decoration:none" href="'+
google_ads[0].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+
google_ads[0].visible_url+'\';return true">'+
google_ads[0].visible_url+'</span></a><br>';s+='<br/><br/><div style="width10px; float:right;"><a href=\"'+google_info.feedback_url+'\" style="color:000000">Ads&nbsp;by&nbsp;Google</a></div>';}else{adnum_add=num_ads;google_ad_current_block[google_ad_index]=0;var feedback_url='http://services.google.com/feedback/online_hws_feedback';if(typeof(google_info)!='undefined'){feedback_url=google_info.feedback_url;}
if(google_link=='top'){s+='<div style="margin-bottom:-5px;"><a href=\"'+feedback_url+'\" style="font-weight:bold; color:#666666; text-decoration:none;">Ads&nbsp;by&nbsp;Google:</a></div>';}else if(google_link=='top_bold'){s+='<div style="margin-bottom:-5px;"><a style="font:12px Verdana, Arial, Helvetica, sans-serif; font-weight:bold; color:#666666; text-decoration:none;" href=\"'+feedback_url+'\">Ads&nbsp;by&nbsp;Google:</a></div>';}
var length=google_ads.length;if(is_afs&&num_ads<length){length=num_ads;}
var start=0;if(afs_second_half){start=google_skip;}
var divider=2+start;for(i=start;i<length;++i){j=i/num_ads;if(i%num_ads==0){if(i==0){s+='<div id="'+google_ad_index+'gad_'+j+'">';}else{s+='<div id="'+google_ad_index+'gad_'+j+'">';}}
var br='&nbsp;';if(desc=='bottom'){br='<br/>';}
s+='<br><a target="_blank" style="font-size:'+font_size+';color:'+color_link+';text-decoration:none" href="'+
google_ads[i].url+'" onmouseout="window.status=\'\';this.style.color=\''+color_link+'\';" onmouseover="window.status=\'go to '+
google_ads[i].visible_url+'\';this.style.color=\'#afaf00\';return true"><b>'+
google_ads[i].line1+'</b>'+br+'</a><span style="font-size:'+font_size+'; color:#000000">'+
google_ads[i].line2+'&nbsp;';if(google_ads[i].line3!=undefined){s+=google_ads[i].line3;}
s+='<br></span><a target="_blank" class="google_link" style="font-size:'+font_size+'; color:#'+color_url+';text-decoration:none" href="'+
google_ads[i].url+'" onmouseout="window.status=\'\';this.style.color=\''+color_url+'\';" onmouseover="window.status=\'go to '+
google_ads[i].visible_url+'\';this.style.color=\'#afaf00\';return true">'+
google_ads[i].visible_url+'</a><br>';if(i%num_ads==(num_ads-1)){s+='</div>';}
if(split&&i==divider){s+='</td>';s+='<td>';s+='  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';s+='</td>';s+='<td style="width:336; height:280;" valign="top">';}}}}
google_adnum=google_adnum+adnum_add;google_ad_index++;document.write(s);return;}
var google_ad_current_block=[];function google_ad_scroll(unique_identifier,dir){var new_block_id=0;if(dir=='up'){new_block_id=google_ad_current_block[unique_identifier]-1;}else{new_block_id=google_ad_current_block[unique_identifier]+1;}
var new_block=document.getElementById(unique_identifier+'gad_'+new_block_id);if(null!=new_block){var current_block=document.getElementById(unique_identifier+'gad_'+google_ad_current_block[unique_identifier]);current_block.style.display='none';new_block.style.display='block';google_ad_current_block[unique_identifier]=new_block_id;}
return false;}
var d=document;var pop_timeout=new Array();var pop_delay=new Array();var pop_chGoActive=new Array();var pop_chGoInactive=new Array();var pop_timeoutGoActive=new Array();var pop_timeoutGoInactive=new Array();var pop_isActive=new Array();pop_isActive['active']=new Array();function CallbackChain(){this._callbacks=new Array();this.add=cbc_add;this.get=cbc_get;this.count=cbc_count;this.execute=cbc_execute;return this;}
function cbc_add(refCallback){this._callbacks[this._callbacks.length]=refCallback;return true;}
function cbc_get(index){return this._callbacks[index];}
function cbc_count(){return this._callbacks.length;}
function cbc_execute(){for(var i=0;i<this.count();i++){var cb=this.get(i);cb();}return true;}
function connectHoverEvents(triggerId,targetId,showChain,hideChain,showDelay,hideTimeout){var eMouseOver=pop_genActiveEvent(triggerId,showChain,showDelay);var eMouseOut=pop_genInactiveEvent(triggerId,hideChain,hideTimeout);var trigger=d.getElementById(triggerId);yg_addEvt(trigger,"mouseover",eMouseOver,false);yg_addEvt(trigger,"mouseout",eMouseOut,false);if(targetId!=null){var target=d.getElementById(targetId);if(!target)return false;yg_addEvt(target,"mouseover",eMouseOver,false);yg_addEvt(target,"mouseout",eMouseOut,false);}}
function pop_genActiveEvent(tabId,showChain,delay){pop_chGoActive[tabId]=showChain;pop_timeoutGoActive[tabId]=new Function("if (pop_isActive['"+tabId+"'] != true) {"+"  if (pop_isActive['active'].length != 0) {"+"    pop_makeAllInactive();"+"  } "+"  pop_chGoActive['"+tabId+"'].execute();"+"} "+"pop_isActive['"+tabId+"'] = true;"+"pop_isActive['active'][pop_isActive['active'].length] = '"+tabId+"';");return new Function("clearTimeout(pop_timeout['"+tabId+"']);"+"clearTimeout(pop_delay['"+tabId+"']);"+"var defaultDelay = "+delay+";"+"var thisDelay = (pop_isActive['active'].length != 0) ? 1 : defaultDelay;"+"pop_delay['"+tabId+"'] = setTimeout(\"pop_timeoutGoActive['"+tabId+"']();\", thisDelay);"+"return false;");}
function pop_genInactiveEvent(tabId,hideChain,timeout){pop_chGoInactive[tabId]=hideChain;pop_timeoutGoInactive[tabId]=new Function("pop_chGoInactive['"+tabId+"'].execute();"+"pop_isActive['"+tabId+"'] = false;"+"pop_markInactive('"+tabId+"');");return new Function("clearTimeout(pop_delay['"+tabId+"']);"+"clearTimeout(pop_timeout['"+tabId+"']);"+"pop_timeout['"+tabId+"'] = setTimeout(\"pop_timeoutGoInactive['"+tabId+"']();\", "+timeout+");"+"return false;");}
function pop_makeAllInactive(skip){var array=pop_isActive['active'];var exceptionData=null;for(var i=(pop_isActive['active'].length-1);i>-1;i--){var cur=pop_isActive['active'][i];if(cur==skip){exceptionData=cur;}else{pop_timeoutGoInactive[cur]();}pop_isActive['active']=pop_isActive['active'].slice(0,i);}if(exceptionData!=null){pop_isActive['active'][pop_isActive['active'].length]=exceptionData;}}
function pop_markInactive(id){var others=new Array();for(var i=(pop_isActive['active'].length-1);i>-1;i--){var cur=pop_isActive['active'][i];if(cur!=id){others[others.length]=cur;}}pop_isActive['active']=others;}
function pop_showElement(elId){var el=d.getElementById(elId);if(el){el.style.visibility="visible";}}
function pop_hideElement(elId){var el=d.getElementById(elId);if(el){el.style.visibility="hidden";}}var navNoMenu=new Array("0","1","2","3","4","5","6");var navMenu=new Array("7");var IFRAME_ID='yshp_js_msie_iframe';var SHOW_DELAY=250;var HOVER_TIMEOUT=400;var oBw=new yg_Browser();function setMenuPos(tabId,menuId,align){var tab=d.getElementById(tabId);var menu=d.getElementById(menuId);var xOffset=0;var yOffset=0;var width="auto";if(d.all&&navigator.userAgent.indexOf("Mac_PowerPC")>-1){xOffset=-6;yOffset=-15;width="16.2em";}menu.style.width=width;if(tab.className=="selected"){yOffset=yOffset-1;}var tabTop=yg_getPageY(tab);var tabLeft=yg_getPageX(tab);var tabHeight=yg_getH(tab);var tabWidth=yg_getW(tab);var tabRight=tabLeft+tabWidth;var menuWidth=yg_getW(menu);var menuHeight=yg_getH(menu);var menuTop=(tabTop+tabHeight+yOffset);var menuLeft='';if(align=="right"){menuLeft=(tabRight-menuWidth+xOffset);}else{menuLeft=(tabLeft+xOffset);}menu.style.top=menuTop+"px";menu.style.left=menuLeft+"px";if(oBw.ie5&&oBw.win){var iframe=d.getElementById(IFRAME_ID);if(iframe){iframe.style.top=menuTop+"px";iframe.style.left=menuLeft+"px";iframe.style.height=menuHeight+"px";iframe.style.width=menuWidth+"px";iframe.style.zIndex=menu.style.zIndex+1;}}return true;}
function selectTab(tabId){var tab=d.getElementById(tabId);if(!tab)return false;if(tab.className!="selected"){tab.className="highlighted";}return true;}
function deselectTab(tabId){var tab=d.getElementById(tabId);if(!tab)return false;if(tab.className!="selected"){tab.className="";}return true;}
function tabs_init(){if(!d.getElementById)return false;if(oBw.ie5&&oBw.win){var tabs=d.getElementById('tabs');var iframe=d.createElement("iframe");iframe.setAttribute('id',IFRAME_ID);iframe.style.height=0;iframe.style.width=0;iframe.style.position="absolute";iframe.style.visibility="hidden";iframe.style.zIndex=1;iframe.style.border=0;tabs.parentNode.insertBefore(iframe,tabs);}for(var i=0;i<navNoMenu.length;i++){var num=navNoMenu[i];var tabId="tab_"+num;var tab=d.getElementById(tabId);if(!tab)continue;var showChain=new CallbackChain();var hideChain=new CallbackChain();connectHoverEvents(tabId,'',showChain,hideChain,SHOW_DELAY,HOVER_TIMEOUT);}for(var i=0;i<navMenu.length;i++){var num=navMenu[i];var tabId="tab_"+num;var tab=d.getElementById(tabId);if(!tab)continue;var menuId="menu_"+num;var menu=d.getElementById(menuId);if(!menu)continue;var showChain=new CallbackChain();showChain.add(new Function("setMenuPos('"+tabId+"', '"+menuId+"', 'right');"));showChain.add(new Function("selectTab('"+tabId+"');"));showChain.add(new Function("pop_showElement('"+menuId+"');"));if(oBw.ie5&&oBw.win)showChain.add(new Function("pop_showElement('"+IFRAME_ID+"');"));var hideChain=new CallbackChain();if(oBw.ie5&&oBw.win)hideChain.add(new Function("pop_hideElement('"+IFRAME_ID+"');"));hideChain.add(new Function("pop_hideElement('"+menuId+"');"));hideChain.add(new Function("deselectTab('"+tabId+"');"));connectHoverEvents(tabId,menuId,showChain,hideChain,SHOW_DELAY,HOVER_TIMEOUT);}}
function yg_Browser(){d=document;var nav=navigator;this.agt=nav.userAgent.toLowerCase();this.major=parseInt(nav.appVersion);this.ns=(d.layers);this.dom=(d.getElementById)?1:0;this.ns4up=(this.ns&&this.major>=4);this.ns6=(this.agt.indexOf("Netscape6")!=-1);this.op=(window.opera?1:0);this.ie=(d.all);this.ie5=(d.all&&this.dom);this.fb=(this.agt.indexOf("firebird")!=-1);this.sf=(this.agt.indexOf("safari")!=-1);this.win=((this.agt.indexOf("win")!=-1)||(this.agt.indexOf("16bit")!=-1));this.mac=(this.agt.indexOf("mac")!=-1);}
var oBw=new yg_Browser();function yg_getW(o){var w=0;w=(oBw.op)?o.style.pixelWidth:o.offsetWidth;return w;}
function yg_getH(o){var h=0;h=(oBw.op)?o.style.pixelHeight:o.offsetHeight;return h;}
function yg_getPageX(o){if(oBw.op){var x=0;while(eval(o)){x+=o.style.pixelLeft;e=o.offsetParent;}return x;}else{var m=(oBw.mac&&oBw.ie)?document.body.leftMargin:0;var x=0;while(eval(o)){x+=o.offsetLeft;o=o.offsetParent;}return parseInt(x)+parseInt(m)}}
function yg_getPageY(o){if(oBw.ns){var y=(o.pageY)?o.pageY:o.y;return y;}else if(oBw.op){var y=0;while(eval(o)){y+=o.style.pixelTop;o=o.offsetParent;}return y;}else{var m=(oBw.mac&&oBw.ie)?document.body.topMargin:0;var y=0;while(eval(o)){y+=o.offsetTop;o=o.offsetParent;}return parseInt(y)+parseInt(m);}}
function yg_show(o,disp){(!disp)?0:o.style.display=disp;o.style.visibility='visible';}
function yg_hide(o,disp){(!disp)?0:o.style.display=disp;o.style.visibility='hidden';}
function yg_addEvt(o,e,f,c){if(o.addEventListener)o.addEventListener(e,f,c);else if(o.attachEvent)o.attachEvent("on"+e,f);else eval("o.on"+e+"="+f)}
function yg_remEvt(o,e,f){if(o.removeEventListener)o.removeEventListener(e,f,false);else if(o.detachEvent)o.detachEvent('on'+e,f);}
function yshp_setPageX(o,x){if(oBw.op)o.style.pixelLeft=x;else o.style.left=x;}
function yshp_setPageY(o,y){if(oBw.op)o.style.pixelTop=y;else o.style.top=y;}
function yg_setZ(o,z){if(oBw.ns)o.zIndex=z;else o.style.zIndex=z;}