var name;
name = document.URL;
name=name.toLowerCase();
urlCategories = new Array("about", "scintific", "product", "kids", "premier1", "white", "libraryl", "research", "literature", "faq_int", "news", "emory", "events", "customer","career", "contact", "map");
queryStrings = new Array("cat=0&subCat=abo0", "cat=0&subCat=abo1", "cat=1&subCat=pro0", "cat=1&subCat=pro1", "cat=1&subCat=pro2", "cat=2&subCat=lib0", "cat=2&subCat=lib1", "cat=2&subCat=lib2", "cat=2&subCat=lib3", "cat=2&subCat=lib4","cat=3&subCat=new0","cat=3&subCat=new0", "cat=4&subCat=eve0", "cat=5&subCat=cus0", "cat=6&subCat=car0", "cat=7&subCat=con0", "cat=7&subCat=con1");
newsArray = new Array("caligor","emory","fda","food","germanym","germanyp","increased","iso%20certification","metatarsal","ndc","three","treatment","turkey%20launch","turkey-china","ultrasound","unveils","uslaunch");
productsSArray = new Array("multi","productusa","radiususa","rdb","rdbusa","reportmain","softmain","specs","specsk","tech","who","whousa");
productsPArray = new Array("rdbkids","reportmaink","techk");
productsPreArray = new Array("premier1","premier2","premier3");
contactUsArray = new Array("thanks");
distributionMapArray = new Array("usamap1");
customerArray = new Array("warranty");
var i;
var query="";
var ind="";
	for (i=0;i<productsPreArray.length;i++){
		ind=name.indexOf(productsPreArray[i]+".html");
		//alert (ind);
		if (ind >(-1)){
			query = "?cat=1&subCat=pro2";
			//alert (query);
			break;
		}
	}
	for (i=0;i<urlCategories.length;i++){
		ind=name.indexOf(urlCategories[i]+".html");
		//alert (ind);
		if (ind >(-1)){
			query = "?"+queryStrings[i];
			//alert (query);
			break;
		}
	}
	for (i=0;i<newsArray.length;i++){
		ind=name.indexOf(newsArray[i]+".html");
		//alert (ind);
		if (ind >(-1)){
			query = "?cat=3&subCat=new0";
			//alert (query);
			break;
		}
	}
	for (i=0;i<productsSArray.length;i++){
		ind=name.indexOf(productsSArray[i]+".html");
		//alert (ind);
		if (ind >(-1)){
			query = "?cat=1&subCat=pro0";
			//alert (query);
			break;
		}
	}
	for (i=0;i<productsPArray.length;i++){
		ind=name.indexOf(productsPArray[i]+".html");
		//alert (ind);
		if (ind >(-1)){
			query = "?cat=1&subCat=pro1";
			//alert (query);
			break;
		}
	}
	for (i=0;i<contactUsArray.length;i++){
		ind=name.indexOf(contactUsArray[i]+".html");
		//alert (ind);
		if (ind >(-1)){
			query = "?cat=7&subCat=con0";
			//alert (query);
			break;
		}
	}
	for (i=0;i<distributionMapArray.length;i++){
		ind=name.indexOf(distributionMapArray[i]+".html");
		//alert (ind);
		if (ind >(-1)){
			query = "?cat=7&subCat=con1";
			//alert (query);
			break;
		}
	}
	for (i=0;i<customerArray.length;i++){
		ind=name.indexOf(customerArray[i]+".html");
		//alert (ind);
		if (ind >(-1)){
			query = "?cat=5&subCat=cus0";
		//	alert (query);
			break;
		}
	}
