	function populateLocation(location) 
		{
 		   document.searchForm.category.value = location;
		   document.searchForm.category.focus();
		}		

function jumpcd() { 
  window.location.href='http://www.jamals.com/cgi-bin/store/checkout.pl?product=JYPCD'
}

function jumpbooknow() { 
  window.location.href='http://www.jamals.com/webbookyouraddnow.php'
}

function jumpproduct() { 
  window.location.href='http://www.jamals.com/productbookyouraddnow.php'
}

function jumpd() { 
  window.location.href='http://www.jamals.com/cgi-bin/store/checkout.pl?product=JYPD'
}

function MM_openBrWindow(theURL,winName,features) 
	{ 
	  window.open(theURL,winName,features);
	}

//function to set Home Page.
function bookmarksite(title,url)
	{
		if (window.sidebar) // firefox
			window.sidebar.addPanel(title, url, "");
		else if(document.all)// ie
			{
				document.body.style.behavior='url(#default#homepage)';
				document.body.setHomePage(url);
			}
	}

function reset() {
document.tellafriend.your_name.value="";
document.tellafriend.your_email.value="";
document.tellafriend.friends_email_1.value="";
document.tellafriend.fmail2.value="";
document.tellafriend.fmail3.value="";
}

function setList(f) {
var secondlist=""
var pos=0
var strcode=""
var strcountr=""
var secondlist=f.Cityselect.options[f.Cityselect.selectedIndex].value
var pos=secondlist.indexOf("-(")
if (pos>=0)
{
var strcode=secondlist.substr(pos+1,10)
var strcountry=secondlist.substring(0,pos)
//f.Cityselect.options[f.Cityselect.selectedIndex].value=strcountry
f.City.value=strcountry
f.City_Telephone_Code.value=strcode
}
}
