<!--
if (self!=top) top.location=self.location;
var stateBuffer=new Array();
var countryBuffer=new Array();
window.defaultStatus=":: Welcome to Ketab Corporation ::";
window.focus();
function change(name,src) {
   document[name].src=src;
}
function popup(src,width,height) {
   window.open(src,"popup","width="+width+",height="+height+",status=no,toolbar=no,directories=no,menubar=no,location=no,resizable=no,left=0,top=0");
}
function changeUSA(state,country) {
   if(country.options[country.selectedIndex].value!="" && country.options[country.selectedIndex].value!=225) countryBuffer[country.name]=country.selectedIndex;
   if(country.type!="select-one") {
      for(var i=0;i<country.length;i++) country.options[i].selected=false;
   }
   if(state.options[state.selectedIndex].value!="") country.selectedIndex=225;
   else if(countryBuffer[country.name]) country.selectedIndex=countryBuffer[country.name];
   else country.selectedIndex=0;
}
function changeState(country,state) {
   if(state.options[state.selectedIndex].value!="") stateBuffer[state.name]=state.selectedIndex;
   if(state.type!="select-one") {
      for(var i=0;i<state.length;i++) state.options[i].selected=false;
   }
   if(country.options[country.selectedIndex].value!=225) state.selectedIndex=0;
   else if(stateBuffer[state.name]) state.selectedIndex=stateBuffer[state.name];
}
function go() {
   dest=document.surf.acv.options[document.surf.acv.selectedIndex].value;
   if(dest) location.href="http://www.iranshahrweekly.com/issue.aspx?id="+dest;
}
function DelayStatus(message)
{
  status=message;
}
function SetStatus(message)
{
  status=message;
  setTimeout('DelayStatus("'+message+'")',1);
}
//-->