﻿//
//<!--
function falshpic(_pics,_links)
{
var focus_width=450
if(screen.width==1280)
focus_width=450
else if( screen.width==1440)
focus_width=450
else if(screen.width==1024)  
focus_width=350
else if(screen.width>1440)
focus_width=450
else
focus_width=350
var focus_height=182
var text_height=0
var swf_height = focus_height+text_height
var pics=_pics
var links=_links
var texts='#|#|#'
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'" align="left"  hspace="0">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#333333">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+(focus_width+2)+'&borderheight='+(focus_height+2)+'&textheight='+text_height+'">');
document.write('<embed src="/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
}
//-->
function by_price_search()
{
var n1=document.getElementById("sp1").value;
var n2=document.getElementById("sp2").value;
var n3=n1-n2;
if(n3<0)
{
 if( n1!="" && !isNaN(n1))
     {
          if(!isNaN(n2) && n2!="")
          {
               location.href="/Search_by_price_"+n1+"_"+n2+".aspx";
           }
          else  location.href="/Search_by_price_"+n1+"_0.aspx";
     }
     }
}
function openMore()
{
document.getElementById("moreL").style.display="block";
}
function closeMore()
{
document.getElementById("moreL").style.display="none";
}

