var newWin;function open_window(docUrl,windowName,width,height,windowOpts)
{if(windowOpts==undefined)windowOpts='status=no,toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=yes';newWin=window.open(docUrl,windowName,windowOpts+',width='+width+',height='+height);if(!newWin.opener)newWin.opener=self;if(newWin.resizeTo)
{newWin.resizeTo(width,height);}
else
{newWin.close();window.setTimeout("newWin = window.open('"+docUrl+"', '"+windowName+"', '"+windowOpts+",width="+width+",height="+height+"');",50);}
newWin.location=docUrl;newWin.focus();}
function openerLocation(page)
{if(arguments.length>1)
{closeWindow=arguments[1];}
else
{closeWindow=true;}
if(window.opener&&!window.opener.closed)
{window.opener.location=page;}
else
{newWin=window.open(page);window.opener=newWin;}
window.opener.focus();if(closeWindow==true)window.close();}
function window_status(text)
{window.status=text;window.setTimeout('window.status="'+text+'"',50);return true;}
var click_count=0;var reset_timeout=3;var reset_counter=reset_timeout;var reset_counter_started=false;function reset_click_count()
{reset_counter_started=true;reset_counter-=1;if(reset_counter!=-2){if(reset_counter<=0){click_count=0;reset_counter=reset_timeout;reset_counter_started=false;}else{setTimeout('reset_click_count()',1000);}}}
function click_check()
{if(arguments.length>0)
reset_timeout=arguments[0];if(click_count==0){click_count++;reset_counter=reset_timeout;if(reset_counter_started==false)
setTimeout('reset_click_count()',1000);return true;}else{return false;}}
function clear_click_count()
{click_count=0;reset_counter_started=false;}
function capture_keys(field_to_focus)
{if(window.document.autosubmit)
{if(field_to_focus!=null&&window.document.autosubmit[field_to_focus])
{window.document.autosubmit[field_to_focus].focus();}}}
var vFlag=false;function vLoad(ssl)
{if(document.images){if(ssl){v1img=new Image();v1img.src="https://i.sell.com/v/acce.gif";v2img=new Image();v2img.src="https://i.sell.com/v/a006.gif";}else{v1img=new Image();v1img.src="http://i.sell.com/v/acce.gif";v2img=new Image();v2img.src="http://i.sell.com/v/a006.gif";}
return(vFlag=true);}}
function v2(imgName)
{if(document.images&&(vFlag==true)){document[imgName].src=v2img.src;}}
function v1(imgName)
{if(document.images&&(vFlag==true)){document[imgName].src=v1img.src;}}

