
//Set the URL Parameters (if they have been added to the URL
var myUrlmedium_id = document.getElementById("txtURLmedium_id");
if(myUrlmedium_id != null){		
			myMenuSearchMediumID = myUrlmedium_id.value;
}

//var myUrlname = document.getElementById("txtURLname");
//if(myUrlname != null){		myMenuSearchMediumID = myUrlname.value;}

var myUrlkeyword = document.getElementById("txtURLkeyword");
if(myUrlkeyword != null){		document.getElementById("txtKeywordSearch").value = myUrlkeyword.value;}

var myUrlmedium_types = document.getElementById("txtURLmedium_types");
if(myUrlmedium_types != null){		myMenuSearchMediumTypesID = myUrlmedium_types.value;}

//var myUrlcountries = document.getElementById("txtURLcountries");
//if(myUrlcountries != null){		myMenuSearchMediumID = myUrlcountries.value;}

var myUrlmaterials = document.getElementById("txtURLmaterials");
if(myUrlmaterials != null){		myMenuSearchMaterialID = myUrlmaterials.value;}

var myUrlmood_id = document.getElementById("txtURLmood_id");
if(myUrlmood_id != null){		myMenuSearchMoodID = myUrlmood_id.value;}

var myUrlgenre_id = document.getElementById("txtURLgenre_id");
if(myUrlgenre_id != null){		myMenuSearchGenreID = myUrlgenre_id.value;}

var myUrldimensions = document.getElementById("txtURLdimensions");
if(myUrldimensions != null){		myMenuSearchDimensionID = myUrldimensions.value;}

var myUrlcolors = document.getElementById("txtURLcolors");
if(myUrlcolors != null){		myMenuSearchColorID = myUrlcolors.value;}

var myUrlprice_min = document.getElementById("txtURLprice_min");
if(myUrlprice_min != null){		myMenuSearchMinPrice = myUrlprice_min.value;}

var myUrlprice_max = document.getElementById("txtURLprice_max");
if(myUrlprice_max != null){		myMenuSearchMaxPrice = myUrlprice_max.value;}

var myUrlcity_id = document.getElementById("txtURLcity_id");
if(myUrlcity_id != null){		myMenuSearchCityID  = myUrlcity_id.value;}

var myUrlschool_id = document.getElementById("txtURLschool_id");
if(myUrlschool_id != null){		myMenuSearchSchoolID = myUrlschool_id.value;}


