//
function miniCart(){
var prdCount = 0, prdString = "", subTotal = (xmlConfig.cartSubTotal > 0)?xmlConfig.cartSubTotal:0;
	if(xmlOHeader.childNodes.length==0) subTotal = 0;
	for(var i=0;i<xmlOHeader.childNodes.length;i++){
		prdCount = prdCount+(parseInt(xmlOHeader.childNodes[i].QuantityAmount));
		};
	prdString += "Amount of Products:<strong>&nbsp;" + prdCount + "</strong><br>";
	prdString += "Subtotal:<strong>&nbsp;" + TFormatCurrency(subTotal, objPriCurrency) + "</strong><br><br>";
	prdString += "<a class=\"WAGRUNAV\" href=\"orderform." + xmlConfig.fileExtension + "\">";
	prdString += "<strong>" + '<img src="assets/images/bullet.gif" width="13" height="14" alt="Bullet.gif" border="0" align="absmiddle" hspace="0" vspace="0" class="catnav">' + "Go to the Orderform</strong></a>";
	return(prdString);
	};
//
var TNavDropDownIndent = ".."
//
function NavLinkedDropDownList(){
	return(TNavDropDownList(true));
	};
//
function NavDropDownList(){
	return(TNavDropDownList(false));
	};
//
function storeSearchParameters(optionValueArray){
var xmlSearchEngine = xmlConfig.getFirstItem("SearchEngine");
	if(optionValueArray[0]!="null"&&optionValueArray[0]!="nada"){
		xmlSearchEngine.categoryIndex = optionValueArray[0];
		xmlSearchEngine.categoryId = optionValueArray[2];
		xmlSearchEngine.ByCategory = "1";
		}
	else{
		xmlSearchEngine.categoryIndex = "null";
		xmlSearchEngine.categoryId = "null";
		xmlSearchEngine.ByCategory = "0";
		};
	};
//
function TNavDropDownList(asLink){
var rString = "";
var myNavIndex = "";
	if(asLink) myNavIndex = xmlConfig.navIndex;
	else myNavIndex = xmlConfig.getFirstItem("SearchEngine").categoryIndex;
	if(!(myNavIndex=="null"||myNavIndex=="")){ navigation[parseInt(myNavIndex)].active = true; };
	if(asLink) rString += "<select name=\"navselect\" onChange=\"changeLoc(this[this.selectedIndex].value.split(';;')[0],this[this.selectedIndex].value.split(';;')[1])\">"
	else rString += "<select name=\"navselect\" onChange=\"storeSearchParameters(this[this.selectedIndex].value.split(';;'))\">";
	rString += "<option value=\"nada;;start.htm;;null\">Browse Drugs By</option>";
	for(var i=0; i<navigation.length; i++){
		if(navigation[i].parentId==null){
			rString += TNavDropDownItem(navigation[i], "");
			};
		};
	rString += "</select>";
	return(rString);
	};
//
function TNavDropDownItem(navItem, cptPreFix){
var rString = "";
	rString += "<option value=\"" + navItem.id + ";;" + navItem.linkUrl + ";;" + navItem.categoryId + "\"";
	if(navItem.active) rString += " selected";
	rString += ">" + cptPreFix + navItem.caption + "</option>";
	for(var i=0; i<navigation.length;i++) if(navigation[i].parentId==navItem.id) rString += TNavDropDownItem(navigation[i], cptPreFix + TNavDropDownIndent);
	return(rString);	
	};
//
	function openItem(itemId){
	var objActiveItem = null;
		if(itemId!=null){
			objActiveItem = navigation[itemId];
			if(objActiveItem!=null){
				objActiveItem.open = true;
				openItem(objActiveItem.parentId);
				};
			};
		};
		
	function activateItem(itemId){
	var objActiveItem = null;
		if(itemId!=null){
			objActiveItem = navigation[itemId];
			if(objActiveItem!=null){
				objActiveItem.active = true;
				openItem(objActiveItem.parentId);
				};
			};
		};
		
	function itemHasSubelems(itemId){
		for(var i=0; i<navigation.length;i++) if(navigation[i].parentId==itemId) return(true);
		return(false);
		};
	
	function TNavLinkList(){
	var strHTML = "";
		for(var i=0; i<navigation.length; i++) if(navigation[i].parentId==null) strHTML += printItem(navigation[i], 0);
		return(strHTML);
		};	
		
	function printItem(navItem, depth){
	var strHTML = "";
	var elemWidth = 1;
		strHTML += '<table width="100%" class="CATLINKS1STPARENT" border="0" cellpadding="1" cellspacing="1" >';
		strHTML += "<tr>"
		for(var i=0; i<depth; i++){
			strHTML += "<td";
			if(navItem.active) strHTML += " class=\"ACTIVECATEGORY\""
			else strHTML += " class=\"CATLINKS1STBULLET\"";
			strHTML += ' width="1%"><img src="assets/images/spacer.gif" width="13" height="1" height="1" alt="" border="0"></td>';
			};
		if(navItem.active) strHTML += '<td width="1%" class="ACTIVECATEGORY"><img src="assets/images/bulletcatact.gif" width="13" height="14" alt="BulletCatAct.gif" border="0" align="bottom" hspace="0" vspace="0" class="catnav"></td>'
		else if(navItem.open&&itemHasSubelems(navItem.id)) strHTML += '<td width="1%" class="CATLINKS1STBULLET"><img src="assets/images/bulletcat1stcls.gif" width="13" height="14" alt="BulletCat1stCls.gif" border="0" align="bottom" hspace="0" vspace="0" class="catnav"></td>'
		else strHTML += '<td width=\"1%\"><img src="assets/images/bulletcat1st.gif" width="13" height="14" alt="BulletCat1st.gif" border="0" align="bottom" hspace="0" vspace="0" class="catnav"></td>'
		strHTML += "<td";
		if(navItem.active) strHTML += " class=\"ACTIVECATEGORY\""
		else strHTML += " class=\"CATLINKS1STBULLET\"";
		strHTML += "width=\"" + ( 100 - ( depth + 1 ) ) + "%\">"
			+ "<a href=\"" + navItem.linkUrl + "?categoryId=" + escape(navItem.id) + "\" class=\"WAGRUNAV\">"
			+ navItem.caption
			+ "</a>"
			+ "</td>";
		strHTML += "</tr>"
		strHTML += "</table>"
		depth++;
		if(navItem.active||navItem.open){
			for(var i=0; i<navigation.length;i++) if(navigation[i].parentId==navItem.id) strHTML += printItem(navigation[i], depth);
			};
		return(strHTML);
		};


//

// navElem
	function navElem(id,caption,linkUrl,parentId,categoryId){
		this.id = id;
		this.caption = caption;
		this.linkUrl = linkUrl;
		this.parentId = parentId;
		this.active = false;
		this.open = false;
		this.categoryId = categoryId;
		};
// navigation
var navigation = new Array();
//
navigation[0] = new navElem(0,"Brandnames","pi1076905226.shtml",null,"DBUS");
navigation[1] = new navElem(1,"Brandnames: A","pi922951363.shtml",0,"DBUS-A");
navigation[2] = new navElem(2,"Brandnames: B to C","pi-1695573432.shtml",0,"DBUS-B2C");
navigation[3] = new navElem(3,"Brandnames: D to E","pi-1430597975.shtml",0,"DBUS-D2E");
navigation[4] = new navElem(4,"Brandnames: F to H","pi-171824714.shtml",0,"DBUS-F2H");
navigation[5] = new navElem(5,"Brandnames: I to L","pi68868351.shtml",0,"DBUS-I2L");
navigation[6] = new navElem(6,"Brandnames: M to N","pi1550663380.shtml",0,"DBUS-M2N");
navigation[7] = new navElem(7,"Brandnames: O to P","pi-156859579.shtml",0,"DBUS-O2P");
navigation[8] = new navElem(8,"Brandnames: Q to S","pi762646818.shtml",0,"DBUS-Q2S");
navigation[9] = new navElem(9,"Brandnames: T to U","pi1232637691.shtml",0,"DBUS-T2U");
navigation[10] = new navElem(10,"Brandnames: V to Z","pi1382458400.shtml",0,"DBUS-V2Z");
navigation[11] = new navElem(11,"Diseases/Symptoms","pi1067503557.shtml",null,"DBD");
navigation[12] = new navElem(12,"Diseases: A","pi-2110815326.shtml",11,"DBD-A");
navigation[13] = new navElem(13,"Abortion","pi-786583685.shtml",12,"Ds-A-001");
navigation[14] = new navElem(14,"Addisons disease","pi1067926867.shtml",12,"Ds-A-002");
navigation[15] = new navElem(15,"Adrenocortical insufficiency","pi631265952.shtml",12,"DS-A-003");
navigation[16] = new navElem(16,"Affective disorders","pi916172321.shtml",12,"DS-A-004");
navigation[17] = new navElem(17,"Aggression","pi453984718.shtml",12,"DS-A-005");
navigation[18] = new navElem(18,"Agitation","pi1682810167.shtml",12,"DS-A-006");
navigation[19] = new navElem(19,"AIDS (HIV)","pi-1051194819.shtml",12,"DS-A-007");
navigation[20] = new navElem(20,"Aldosteronism","pi871144122.shtml",12,"DS-A-008");
navigation[21] = new navElem(21,"Allergic rhinitis","pi1075465907.shtml",12,"DS-A-010");
navigation[22] = new navElem(22,"Allergy","pi1427416952.shtml",12,"DS-A-011");
navigation[23] = new navElem(23,"Alopecia","pi-974341530.shtml",12,"DS-A-012");
navigation[24] = new navElem(24,"Amenorrhoea","pi-1785436177.shtml",12,"DS-A-013");
navigation[25] = new navElem(25,"Amoebiasis","pi825687812.shtml",12,"DS-A014");
navigation[26] = new navElem(26,"Anaphylaxis","pi-1127715915.shtml",12,"DS-A015");
navigation[27] = new navElem(27,"Anemia","pi1378905323.shtml",12,"DS-A016");
navigation[28] = new navElem(28,"Anesthesia","pi-669104304.shtml",12,"DS-A017");
navigation[29] = new navElem(29,"Angina Pectoris","pi193108391.shtml",12,"DS-A018");
navigation[30] = new navElem(30,"Ankylosing spondylitis","pi-1027535780.shtml",12,"DS-A019");
navigation[31] = new navElem(31,"Anorexia","pi-133573587.shtml",12,"DS-A020");
navigation[32] = new navElem(32,"Appetite Loss","pi-21304797.shtml",12,"DS-A022");
navigation[33] = new navElem(33,"Arteriosclerosis","pi-1311176439.shtml",12,"DS-A023");
navigation[34] = new navElem(34,"Arthritic disorders","pi-1794966348.shtml",12,"DS-A024");
navigation[35] = new navElem(35,"Asthma","pi-1987042395.shtml",12,"DS-A025");
navigation[36] = new navElem(36,"Athletes foot","pi49481871.shtml",12,"DS-A026");
navigation[37] = new navElem(37,"Diseases: B","pi513573378.shtml",11,"DBD-B");
navigation[38] = new navElem(38,"Bacteraemia","pi-187652517.shtml",37,"DS-B01");
navigation[39] = new navElem(39,"Balanitis","pi-1772605428.shtml",37,"DS-B02");
navigation[40] = new navElem(40,"Behavioural disorder","pi1873492509.shtml",37,"DS-B03");
navigation[41] = new navElem(41,"Biliary disorder","pi-20676205.shtml",37,"DS-B04");
navigation[42] = new navElem(42,"Bites","pi714878457.shtml",37,"DS-B05");
navigation[43] = new navElem(43,"Boils","pi1610516687.shtml",37,"DS-B06");
navigation[44] = new navElem(44,"Bone pain","pi-144177564.shtml",37,"DS-B07");
navigation[45] = new navElem(45,"Bowel evacuation","pi-1744373867.shtml",37,"DS-B08");
navigation[46] = new navElem(46,"Breast feeding","pi-1209441486.shtml",37,"DS-B09");
navigation[47] = new navElem(47,"Bronchitis","pi-1914503168.shtml",37,"DS-B010");
navigation[48] = new navElem(48,"Bronchospasm","pi-488177663.shtml",37,"DS-B011");
navigation[49] = new navElem(49,"Bruises","pi668722734.shtml",37,"DS-B012");
navigation[50] = new navElem(50,"Bulimia nervosa","pi-1208694249.shtml",37,"DS-B013");
navigation[51] = new navElem(51,"Diseases: C","pi673346289.shtml",11,"DBD-C");
navigation[52] = new navElem(52,"Calluses","pi-929908130.shtml",51,"DS-C001");
navigation[53] = new navElem(53,"Cancer","pi1455109767.shtml",51,"DS-C002");
navigation[54] = new navElem(54,"Candidiasis","pi-1331306564.shtml",51,"DS-C003");
navigation[55] = new navElem(55,"Carcinoma","pi-457304829.shtml",51,"DS-C004");
navigation[56] = new navElem(56,"Cardic Failure","pi1846174600.shtml",51,"DS-C005");
navigation[57] = new navElem(57,"Cerebro-vasulcar insufficiency","pi-415256855.shtml",51,"DS-C006");
navigation[58] = new navElem(58,"Chilblains","pi1222882111.shtml",51,"DS-C007");
navigation[59] = new navElem(59,"Circulatory insufficiency","pi936451092.shtml",51,"DS-C008");
navigation[60] = new navElem(60,"Claudication","pi1341908869.shtml",51,"DS-C009");
navigation[61] = new navElem(61,"Colic","pi1770598498.shtml",51,"DS-C010");
navigation[62] = new navElem(62,"Collagen disorders","pi2098564411.shtml",51,"DS-C011");
navigation[63] = new navElem(63,"Colostomy","pi-1049832096.shtml",51,"DS-C012");
navigation[64] = new navElem(64,"Convulsions","pi402864782.shtml",51,"DS-C013");
navigation[65] = new navElem(65,"Coronary thrombosis","pi2091704055.shtml",51,"DS-C014");
navigation[66] = new navElem(66,"Cretinism","pi454532986.shtml",51,"DS-C015");
navigation[67] = new navElem(67,"Crohns disease","pi-118578061.shtml",51,"DS-C016");
navigation[68] = new navElem(68,"Cryptorchidism","pi1198668344.shtml",51,"DS-C017");
navigation[69] = new navElem(69,"Cycloplegia","pi-1520268327.shtml",51,"DS-C018");
navigation[70] = new navElem(70,"Cysitis","pi759667119.shtml",51,"DS-C020");
navigation[71] = new navElem(71,"Cystic fibrosis","pi355961638.shtml",51,"DS-C019");
navigation[72] = new navElem(72,"Diseases: D","pi-1972814396.shtml",11,"DBD-D");
navigation[73] = new navElem(73,"Dementia","pi2130572149.shtml",72,"DS-D001");
navigation[74] = new navElem(74,"Depression","pi-811669102.shtml",72,"DS-D002");
navigation[75] = new navElem(75,"Dermatophytoses","pi1330133675.shtml",72,"DS-D003");
navigation[76] = new navElem(76,"Diabetes mellitus","pi1719659729.shtml",72,"DS-D005");
navigation[77] = new navElem(77,"Diarrhoea","pi-763337026.shtml",72,"DS-D006");
navigation[78] = new navElem(78,"Diphtheria","pi-698301593.shtml",72,"DS-D007");
navigation[79] = new navElem(79,"Dysentery","pi-1252990180.shtml",72,"DS-D008");
navigation[80] = new navElem(80,"Dysmenorrhoea","pi1999174436.shtml",72,"DS-D009");
navigation[81] = new navElem(81,"Dyspareunia","pi-1755500573.shtml",72,"DS-D010");
navigation[82] = new navElem(82,"Dysuria","pi505896168.shtml",72,"DS-D011");
navigation[83] = new navElem(83,"Diseases: E to G","pi1550042313.shtml",11,"DBD-E2G");
navigation[84] = new navElem(84,"Earwax","pi-443142826.shtml",83,"DS-E001");
navigation[85] = new navElem(85,"Emphysema","pi1872837663.shtml",83,"DS-E002");
navigation[86] = new navElem(86,"Endocarditis","pi1213995877.shtml",83,"DS-E003");
navigation[87] = new navElem(87,"Epilepsy","pi420318914.shtml",83,"DS-E004");
navigation[88] = new navElem(88,"Episiotomy","pi-64723941.shtml",83,"DS-E005");
navigation[89] = new navElem(89,"Extrapyramidal disorders","pi-1005200704.shtml",83,"DS-E006");
navigation[90] = new navElem(90,"Fallots tetralogy","pi174060481.shtml",83,"DS-F001");
navigation[91] = new navElem(91,"Fever","pi-216187154.shtml",83,"DS-F002");
navigation[92] = new navElem(92,"Fibrositis","pi-1741823017.shtml",83,"DS-F003");
navigation[93] = new navElem(93,"Fungal infection","pi-41666868.shtml",83,"DS-F004");
navigation[94] = new navElem(94,"Furunculosis","pi1839049178.shtml",83,"DS-F005");
navigation[95] = new navElem(95,"Gastritis","pi-1613711533.shtml",83,"DS-G001");
navigation[96] = new navElem(96,"Gastroenteritis","pi304401304.shtml",83,"DS-G002");
navigation[97] = new navElem(97,"Gingivitis","pi761420217.shtml",83,"DS-G003");
navigation[98] = new navElem(98,"Glaucoma","pi-400163962.shtml",83,"DS-G004");
navigation[99] = new navElem(99,"Gonorrhoea","pi-1306027377.shtml",83,"DS-G005");
navigation[100] = new navElem(100,"Gout","pi-23943900.shtml",83,"DS-G006");
navigation[101] = new navElem(101,"Diseases: H","pi930619378.shtml",11,"DBD-H");
navigation[102] = new navElem(102,"Haemorrhageia","pi1267830640.shtml",101,"DS-H002");
navigation[103] = new navElem(103,"Haemorrhoids","pi-1149970767.shtml",101,"DS-H003");
navigation[104] = new navElem(104,"Hay fever","pi-475217122.shtml",101,"DS-H004");
navigation[105] = new navElem(105,"Headache","pi-1474685316.shtml",101,"DS-H005");
navigation[106] = new navElem(106,"Heart burn","pi801725389.shtml",101,"DS-H006");
navigation[107] = new navElem(107,"Hepatitis","pi18829578.shtml",101,"DS-H007");
navigation[108] = new navElem(108,"Herpes","pi-439338301.shtml",101,"DS-H008");
navigation[109] = new navElem(109,"Herpes simplex","pi-803605066.shtml",101,"DS-H009");
navigation[110] = new navElem(110,"Herpes zoster","pi1188148479.shtml",101,"DS-H010");
navigation[111] = new navElem(111,"HIV","pi1614408404.shtml",101,"DS-H011");
navigation[112] = new navElem(112,"Hodgkins disease","pi-2077704379.shtml",101,"DS-H012");
navigation[113] = new navElem(113,"Hypercholesterolaemia","pi255958306.shtml",101,"DS-H013");
navigation[114] = new navElem(114,"Hyperglycaemia","pi-1070257413.shtml",101,"DS-H014");
navigation[115] = new navElem(115,"Hyperkeratosis","pi461215137.shtml",101,"DS-H015");
navigation[116] = new navElem(116,"Hyperkinesia","pi-1396575410.shtml",101,"DS-H016");
navigation[117] = new navElem(117,"Hyperlipidaemia","pi1815074999.shtml",101,"DS-H017");
navigation[118] = new navElem(118,"Hyperparathyroidism","pi-2023416858.shtml",101,"DS-H024");
navigation[119] = new navElem(119,"Hyperprolactinaemia","pi-606240212.shtml",101,"DS-H018");
navigation[120] = new navElem(120,"Hypertension","pi1474521533.shtml",101,"DS-H019");
navigation[121] = new navElem(121,"Hypertriglyceridemia","pi1111057466.shtml",101,"DS-H020");
navigation[122] = new navElem(122,"Hyperuricaemia","pi-1599948237.shtml",101,"DS-H021");
navigation[123] = new navElem(123,"Hypomania","pi311662489.shtml",101,"DS-H023");
navigation[124] = new navElem(124,"Diseases: I to L","pi-1621718161.shtml",11,"DBD-I2L");
navigation[125] = new navElem(125,"Ichthyosis","pi-1271120764.shtml",124,"DS-I2L-001");
navigation[126] = new navElem(126,"Infertility","pi1509243701.shtml",124,"DS-I2L-002");
navigation[127] = new navElem(127,"Iritis","pi1516133584.shtml",124,"DS-I2L-003");
navigation[128] = new navElem(128,"Irritable bowel syndrome","pi632278910.shtml",124,"DS-I2L-004");
navigation[129] = new navElem(129,"Juvenile arthritis","pi744061404.shtml",124,"DS-I2L-005");
navigation[130] = new navElem(130,"Keratitis","pi1513493421.shtml",124,"DS-I2L-006");
navigation[131] = new navElem(131,"Labour, premature","pi819781544.shtml",124,"DS-I2L-007");
navigation[132] = new navElem(132,"Labyrinthitis","pi-1446756215.shtml",124,"DS-I2L-008");
navigation[133] = new navElem(133,"Legionnaires disease","pi1068149831.shtml",124,"DS-I2L-009");
navigation[134] = new navElem(134,"Leukaemia","pi1589276182.shtml",124,"DS-I2L-010");
navigation[135] = new navElem(135,"Lichen simplex","pi-1121116705.shtml",124,"DS-I2L-011");
navigation[136] = new navElem(136,"Lupus erythematosus","pi646224436.shtml",124,"DS-I2L-012");
navigation[137] = new navElem(137,"Diseases: M to O","pi1893323557.shtml",11,"DBD-M2O");
navigation[138] = new navElem(138,"Malaria","pi1513970562.shtml",137,"DS-M2O-001");
navigation[139] = new navElem(139,"Measles","pi-746593829.shtml",137,"DS-M2O-002");
navigation[140] = new navElem(140,"Meneirs syndrome","pi-657031851.shtml",137,"DS-M2O-003");
navigation[141] = new navElem(141,"Meningitis","pi-2111474304.shtml",137,"DS-M2O-004");
navigation[142] = new navElem(142,"Menstrual disorders","pi612980654.shtml",137,"DS-M2O-005");
navigation[143] = new navElem(143,"Dysf. bleeding","pi-1779410531.shtml",142,"DS-M2O-05c");
navigation[144] = new navElem(144,"Dysmenorrhoea","pi-697647721.shtml",142,"DS-M2O-05a");
navigation[145] = new navElem(145,"Menorrhagia","pi1238957452.shtml",142,"DS-M2O-05b");
navigation[146] = new navElem(146,"Migraine","pi1644351130.shtml",137,"DS-M2O-006");
navigation[147] = new navElem(147,"Morning sickness","pi1089357177.shtml",137,"DS-M2O-007");
navigation[148] = new navElem(148,"Multiple sclerosis","pi1032645702.shtml",137,"DS-M2O-008");
navigation[149] = new navElem(149,"Mumps","pi-1584632753.shtml",137,"DS-M2O-009");
navigation[150] = new navElem(150,"Mycoses","pi1472070628.shtml",137,"DS-M2O-010");
navigation[151] = new navElem(151,"Mydriasis","pi-1461352683.shtml",137,"DS-M2O-011");
navigation[152] = new navElem(152,"Myocardial infarction","pi66428082.shtml",137,"DS-M2O-012");
navigation[153] = new navElem(153,"Neuralgia","pi-1888192693.shtml",137,"DS-M2O-013");
navigation[154] = new navElem(154,"Neurosis","pi1986419248.shtml",137,"DS-M2O-014");
navigation[155] = new navElem(155,"Neutropenia","pi1627716209.shtml",137,"DS-M2O-015");
navigation[156] = new navElem(156,"Osteoporosis","pi-1373533218.shtml",137,"DS-M2O-016");
navigation[157] = new navElem(157,"Otitis, externa","pi-519108089.shtml",137,"DS-M2O-017");
navigation[158] = new navElem(158,"Otitis, media","pi-1318646468.shtml",137,"DS-M2O-018");
navigation[159] = new navElem(159,"Diseases: P to Q","pi-402572403.shtml",11,"DBD-P2Q");
navigation[160] = new navElem(160,"Pain","pi-973593142.shtml",159,"DS-P2Q-001");
navigation[161] = new navElem(161,"Paranoia","pi-638540183.shtml",159,"DS-P2Q-002");
navigation[162] = new navElem(162,"Paratyphoid fever","pi-770730378.shtml",159,"DS-P2Q-003");
navigation[163] = new navElem(163,"Parkinsonism","pi-1117030721.shtml",159,"DS-P2Q-004");
navigation[164] = new navElem(164,"Pediculosis","pi223574420.shtml",159,"DS-P2Q-005");
navigation[165] = new navElem(165,"Peptic ulcer","pi-672704763.shtml",159,"DS-P2Q-006");
navigation[166] = new navElem(166,"Perennial rhinistis","pi874039778.shtml",159,"DS-P2Q-007");
navigation[167] = new navElem(167,"Peritonitis","pi-2126771488.shtml",159,"DS-P2Q-008");
navigation[168] = new navElem(168,"Pertussis","pi22227297.shtml",159,"DS-P2Q-009");
navigation[169] = new navElem(169,"Phobia","pi638282766.shtml",159,"DS-P2Q-010");
navigation[170] = new navElem(170,"Pneumonia","pi815174263.shtml",159,"DS-P2Q-011");
navigation[171] = new navElem(171,"Polio","pi1557047532.shtml",159,"DS-P2Q-012");
navigation[172] = new navElem(172,"Polymenorrhoea","pi-1692944003.shtml",159,"DS-P2Q-013");
navigation[173] = new navElem(173,"Pre eclampsia","pi1108470010.shtml",159,"DS-P2Q-014");
navigation[174] = new navElem(174,"Pressure sores","pi-1862889485.shtml",159,"DS-P2Q-015");
navigation[175] = new navElem(175,"Prostatis","pi-1053463386.shtml",159,"DS-P2Q-016");
navigation[176] = new navElem(176,"Psychoneurosis","pi-1183956235.shtml",159,"DS-P2Q-019");
navigation[177] = new navElem(177,"Psychosis","pi-1677781461.shtml",159,"DS-P2Q-020");
navigation[178] = new navElem(178,"Pyrexia","pi-1920890992.shtml",159,"DS-P2Q-021");
navigation[179] = new navElem(179,"Diseases: R","pi1401959505.shtml",11,"DBD-R");
navigation[180] = new navElem(180,"Rabies","pi2124019774.shtml",179,"DS-R-001");
navigation[181] = new navElem(181,"Rash","pi-275228953.shtml",179,"DS-R-002");
navigation[182] = new navElem(182,"Raynauds disease","pi1049519602.shtml",179,"DS-R-003");
navigation[183] = new navElem(183,"Reflux esophagitis","pi1922748572.shtml",179,"DS-R-004");
navigation[184] = new navElem(184,"Respiratory tract infections","pi735254570.shtml",179,"DS-R-006");
navigation[185] = new navElem(185,"Rheumatic disorders","pi340851555.shtml",179,"DS-R-007");
navigation[186] = new navElem(186,"Roundworm infections","pi-693014826.shtml",179,"DS-R-008");
navigation[187] = new navElem(187,"Diseases: S","pi776257439.shtml",11,"DBD-S");
navigation[188] = new navElem(188,"Scabies","pi-218199820.shtml",187,"DS-S-001");
navigation[189] = new navElem(189,"Schizophrenia","pi-557233435.shtml",187,"DS-S-002");
navigation[190] = new navElem(190,"Septicaemia","pi-1130160229.shtml",187,"DS-S-003");
navigation[191] = new navElem(191,"Shingles","pi-690892736.shtml",187,"DS-S-004");
navigation[192] = new navElem(192,"Shock, anaphylactic","pi-166296500.shtml",187,"DS-S-006");
navigation[193] = new navElem(193,"Shock, cardiac","pi1349211991.shtml",187,"DS-S-005");
navigation[194] = new navElem(194,"Spasticity","pi332499293.shtml",187,"DS-S-007");
navigation[195] = new navElem(195,"Status asthmaticus","pi58635098.shtml",187,"DS-S-008");
navigation[196] = new navElem(196,"Status epilepticus","pi115892947.shtml",187,"DS-S-009");
navigation[197] = new navElem(197,"Stings","pi-714936040.shtml",187,"DS-S-010");
navigation[198] = new navElem(198,"Strains","pi-2081620465.shtml",187,"DS-S-011");
navigation[199] = new navElem(199,"Stress","pi-1784012124.shtml",187,"DS-S-012");
navigation[200] = new navElem(200,"Stroke","pi-1626902827.shtml",187,"DS-S-013");
navigation[201] = new navElem(201,"Diseases: T","pi-405822197.shtml",11,"DBD-T");
navigation[202] = new navElem(202,"Tapeworm","pi-1719147280.shtml",201,"DS-T-001");
navigation[203] = new navElem(203,"Tear deficiency","pi-1600987599.shtml",201,"DS-T-002");
navigation[204] = new navElem(204,"Tenosynovitis","pi-2068769634.shtml",201,"DS-T-003");
navigation[205] = new navElem(205,"Threadworm","pi2001519612.shtml",201,"DS-T-004");
navigation[206] = new navElem(206,"Thrombosis coronary","pi-1541948790.shtml",201,"DS-T-006");
navigation[207] = new navElem(207,"Thyrotoxicosis","pi-1706834365.shtml",201,"DS-T-007");
navigation[208] = new navElem(208,"Trichomoniasis","pi-2083910712.shtml",201,"DS-T-008");
navigation[209] = new navElem(209,"Tuberculosis","pi-1155939799.shtml",201,"DS-T-009");
navigation[210] = new navElem(210,"Diseases: U to W","pi-2059929802.shtml",11,"DBD-U2W");
navigation[211] = new navElem(211,"Ulcer,duodenal","pi-227477377.shtml",210,"DS-U2W-001");
navigation[212] = new navElem(212,"Ulcer,gastric","pi31311956.shtml",210,"DS-U2W-002");
navigation[213] = new navElem(213,"Ulcer,leg","pi116895429.shtml",210,"DS-U2W-003");
navigation[214] = new navElem(214,"Ulcer,mouth","pi1489942178.shtml",210,"DS-U2W-004");
navigation[215] = new navElem(215,"Ulcerative colitis","pi1391175291.shtml",210,"DS-U2W-005");
navigation[216] = new navElem(216,"Urethritis","pi-2019488713.shtml",210,"DS-U2W-009");
navigation[217] = new navElem(217,"Urinary retention","pi-1027684960.shtml",210,"DS-U2W-006");
navigation[218] = new navElem(218,"Urinary tract infections","pi-384402143.shtml",210,"DS-U2W-007");
navigation[219] = new navElem(219,"Urolithiasis","pi-1868585778.shtml",210,"DS-U2W-008");
navigation[220] = new navElem(220,"Urticaria","pi-1022849108.shtml",210,"DS-U2W-010");
navigation[221] = new navElem(221,"Varicella zoster","pi-2003449539.shtml",210,"DS-U2W-011");
navigation[222] = new navElem(222,"Varicose veins","pi1935748538.shtml",210,"DS-U2W-012");
navigation[223] = new navElem(223,"Sclerotherapy","pi-475388493.shtml",222,"DS-U2W-12a");
navigation[224] = new navElem(224,"Venereal disease","pi277312120.shtml",210,"DS-U2W-013");
navigation[225] = new navElem(225,"Vertigo","pi824137611.shtml",210,"DS-U2W-014");
navigation[226] = new navElem(226,"Vestibular disorders","pi921257328.shtml",210,"DS-U2W-015");
navigation[227] = new navElem(227,"Vincents infections","pi1734595761.shtml",210,"DS-U2W-016");
navigation[228] = new navElem(228,"Vitiligo","pi1424189726.shtml",210,"DS-U2W-017");
navigation[229] = new navElem(229,"Vomiting","pi1844080199.shtml",210,"DS-U2W-018");
navigation[230] = new navElem(230,"Diseases: X to Z","pi661159270.shtml",11,"DBD-X2Z");
navigation[231] = new navElem(231,"Xerostomia","pi79985156.shtml",230,"DS-X2Z-002");
navigation[232] = new navElem(232,"Yellow fever","pi-920057163.shtml",230,"DS-X2Z-003");
navigation[233] = new navElem(233,"Zollinger-Ellison syndrome","pi538279890.shtml",230,"DS-X2Z-004");
navigation[234] = new navElem(234,"Generic Names","pi1069669403.shtml",null,"DBG");
navigation[235] = new navElem(235,"Generic Names: A","pi-123644904.shtml",234,"GN-A");
navigation[236] = new navElem(236,"Generic Names: B","pi264739237.shtml",234,"GN-B");
navigation[237] = new navElem(237,"Generic Names: C","pi546566848.shtml",234,"GN-C");
navigation[238] = new navElem(238,"Generic Names: D to E","pi-344322299.shtml",234,"GN-D2E");
navigation[239] = new navElem(239,"Generic Names: F to H","pi1198270233.shtml",234,"GN-F2H");
navigation[240] = new navElem(240,"Generic Names: I to L","pi1887187557.shtml",234,"GN-I2L");
navigation[241] = new navElem(241,"Generic Names: M to N","pi-394877705.shtml",234,"GN-M2N");
navigation[242] = new navElem(242,"Generic Names: O to Q","pi-742858390.shtml",234,"GN-O2Q");
navigation[243] = new navElem(243,"Generic Names: R to S","pi-1687105317.shtml",234,"GN-R2S");
navigation[244] = new navElem(244,"Generic Names: T to Z","pi-980784061.shtml",234,"GN-T2Z");
navigation[245] = new navElem(245,"Therapeutic Categories","pi1431382599.shtml",null,"DBT");
navigation[246] = new navElem(246,"Alimentary tract & metabolism","pi1509963900.shtml",245,"DBT-001");
navigation[247] = new navElem(247,"Anabolics & haematopoietic drugs","pi-1064511942.shtml",246,"DBT-001-14");
navigation[248] = new navElem(248,"Antacids/antiflatulents/antipeptic ulcerants","pi-614224410.shtml",246,"DBT-001-2");
navigation[249] = new navElem(249,"Antacids, antiflatulents","pi-1706936977.shtml",248,"DBT-001-2a");
navigation[250] = new navElem(250,"Antipeptic ulcerants","pi174399108.shtml",248,"DBT-001-2b");
navigation[251] = new navElem(251,"Antidiabetics","pi1673151242.shtml",246,"DBT-001-10");
navigation[252] = new navElem(252,"Oral hypoglycaemics","pi1740752968.shtml",251,"DBT-01-10b");
navigation[253] = new navElem(253,"Antidiarrhoeals","pi1832159889.shtml",246,"DBT-001-7");
navigation[254] = new navElem(254,"Antiemetics & antinauseants","pi-1154959278.shtml",246,"DBT-001-4");
navigation[255] = new navElem(255,"Antiobesity preps","pi-168124034.shtml",246,"DBT-001-8");
navigation[256] = new navElem(256,"Antispasmodics & anticholinergics","pi-1171196619.shtml",246,"DBT-001-3");
navigation[257] = new navElem(257,"Appetite stimulants","pi1304020019.shtml",246,"DBT-001-15");
navigation[258] = new navElem(258,"Cholagogues & hepatic preps","pi1984041579.shtml",246,"DBT-001-5");
navigation[259] = new navElem(259,"Drug affecting bone metabolism","pi-575844616.shtml",246,"DBT-001-16");
navigation[260] = new navElem(260,"Laxatives","pi-370581808.shtml",246,"DBT-001-6");
navigation[261] = new navElem(261,"Mineral supplements","pi2117879118.shtml",246,"DBT-001-12");
navigation[262] = new navElem(262,"Potassium products","pi585638956.shtml",261,"DBT-01-12b");
navigation[263] = new navElem(263,"Other alimentary tract preps","pi-1838567015.shtml",246,"DBT-001-17");
navigation[264] = new navElem(264,"Stomatologicals, dentifrices","pi-1211542067.shtml",246,"DBT-001-1");
navigation[265] = new navElem(265,"Tonics","pi-498211907.shtml",246,"DBT-001-13");
navigation[266] = new navElem(266,"Vitamins","pi16835753.shtml",246,"DBT-001-11");
navigation[267] = new navElem(267,"Other vitamins","pi30830497.shtml",266,"DBT-01-11h");
navigation[268] = new navElem(268,"Vit A, D & combinations","pi-567391020.shtml",266,"DBT-01-11c");
navigation[269] = new navElem(269,"Vit B1 & combinations of B1,B6,B12","pi-1205208763.shtml",266,"DBT-01-11d");
navigation[270] = new navElem(270,"Vit B12 plain","pi1942025467.shtml",266,"DBT-01-11f");
navigation[271] = new navElem(271,"Vit C","pi1287950880.shtml",266,"DBT-01-11g");
navigation[272] = new navElem(272,"Antidotes","pi-2016128495.shtml",245,"DBT-015");
navigation[273] = new navElem(273,"Anti-infectives, systemic","pi-106214676.shtml",245,"DBT-006");
navigation[274] = new navElem(274,"Antibiotics, systemic","pi-412339331.shtml",273,"DBT-006-1");
navigation[275] = new navElem(275,"Aminoglycosides","pi1355257106.shtml",274,"DBT-006-1i");
navigation[276] = new navElem(276,"Cephalosporins","pi-993362599.shtml",274,"DBT-006-1d");
navigation[277] = new navElem(277,"Chloramphenicols","pi973576691.shtml",274,"DBT-006-1b");
navigation[278] = new navElem(278,"Macrolides & similar types","pi-603527377.shtml",274,"DBT-006-1f");
navigation[279] = new navElem(279,"Natural penicillins","pi-892076811.shtml",274,"DBT-006-1h");
navigation[280] = new navElem(280,"Quinolones","pi27974980.shtml",274,"DBT-006-1g");
navigation[281] = new navElem(281,"Semisynthetic pencillins","pi90595768.shtml",274,"DBT-006-1c");
navigation[282] = new navElem(282,"Tetracyclines","pi310860538.shtml",274,"DBT-006-1a");
navigation[283] = new navElem(283,"Trimethoprim & combinations","pi-579469658.shtml",274,"DBT-006-1e");
navigation[284] = new navElem(284,"Antifungals, systemic","pi-310157269.shtml",273,"DBT-006-2");
navigation[285] = new navElem(285,"Antituberculosis preps","pi1519750737.shtml",273,"DBT-006-4");
navigation[286] = new navElem(286,"Antivirals, systemic","pi157731390.shtml",273,"DBT-006-5");
navigation[287] = new navElem(287,"Other anti-infective preps","pi1250020717.shtml",273,"DBT-006-8");
navigation[288] = new navElem(288,"Sulphonamides, systemic","pi1010731408.shtml",273,"DBT-006-3");
navigation[289] = new navElem(289,"Vaccines","pi-1925451108.shtml",273,"DBT-006-7");
navigation[290] = new navElem(290,"Blood & bloodforming organs","pi1084791772.shtml",245,"DBT-002");
navigation[291] = new navElem(291,"Anti-anaemic preps","pi-2123055197.shtml",290,"DBT-002-3");
navigation[292] = new navElem(292,"Anticoagulant/platelet aggregation inhibitors","pi-2069164627.shtml",290,"DBT-002-1");
navigation[293] = new navElem(293,"Antihaemorrhagics/antihaemophillic preparations","pi-895822486.shtml",290,"DBT-002-2");
navigation[294] = new navElem(294,"Hypolipidaemics/anti-atheromas","pi-1619910232.shtml",290,"DBT-002-4");
navigation[295] = new navElem(295,"Cardiovascular System","pi-1286808951.shtml",245,"DBT-003");
navigation[296] = new navElem(296,"Antihaemorrhoidals","pi2122590103.shtml",295,"DBT-003-8");
navigation[297] = new navElem(297,"Antihypertensives","pi-666044544.shtml",295,"DBT-003-5");
navigation[298] = new navElem(298,"Betablocking agents","pi1393510367.shtml",295,"DBT-003-2");
navigation[299] = new navElem(299,"Calcium antagonists","pi822213684.shtml",295,"DBT-003-3");
navigation[300] = new navElem(300,"Cardiac therapy","pi1176076310.shtml",295,"DBT-003-1");
navigation[301] = new navElem(301,"Diuretics","pi-1947958911.shtml",295,"DBT-003-6");
navigation[302] = new navElem(302,"Drugs affecting renin angiotensin system","pi1861225765.shtml",295,"DBT-003-4");
navigation[303] = new navElem(303,"ACE inhibitors","pi2084670850.shtml",302,"DBT-003-4a");
navigation[304] = new navElem(304,"Angiotensin-ll receptor antagonists","pi321432539.shtml",302,"DBT-003-4b");
navigation[305] = new navElem(305,"Vasotherapeutics","pi2126817710.shtml",295,"DBT-003-7");
navigation[306] = new navElem(306,"Central nervous system","pi-607836838.shtml",245,"DBT-010");
navigation[307] = new navElem(307,"Anaesthetics","pi-709464877.shtml",306,"DBT-010-1");
navigation[308] = new navElem(308,"Analgesics","pi-862538984.shtml",306,"DBT-010-2");
navigation[309] = new navElem(309,"Antimigraine preparations","pi-503338993.shtml",308,"DBT-010-2c");
navigation[310] = new navElem(310,"Non-narcotic analgesics","pi1584902.shtml",308,"DBT-010-2b");
navigation[311] = new navElem(311,"Anti-epileptics","pi1672348836.shtml",306,"DBT-010-3");
navigation[312] = new navElem(312,"Anti-parkinsonism preps","pi-759027499.shtml",306,"DBT-010-4");
navigation[313] = new navElem(313,"Other CNS drugs","pi1333716638.shtml",306,"DBT-010-7");
navigation[314] = new navElem(314,"Psychoanaleptics","pi-676270325.shtml",306,"DBT-010-6");
navigation[315] = new navElem(315,"Antidepressants","pi-1398937872.shtml",314,"DBT-010-6a");
navigation[316] = new navElem(316,"Psychostimulants, nootropics & neurotonics","pi1094531121.shtml",314,"DBT-010-6b");
navigation[317] = new navElem(317,"Tranquillisers,sedatives & hypnotics","pi1225821042.shtml",306,"DBT-010-5");
navigation[318] = new navElem(318,"Cytostatic","pi-1274680933.shtml",245,"DBT-008");
navigation[319] = new navElem(319,"Dermatologicals","pi638571421.shtml",245,"DBT-004");
navigation[320] = new navElem(320,"Anti-acne preparations","pi1114683155.shtml",319,"DBT-004-10");
navigation[321] = new navElem(321,"Antifungals, topical","pi2133278874.shtml",319,"DBT-004-1");
navigation[322] = new navElem(322,"Anti-infectives, topical","pi-562675435.shtml",319,"DBT-004-6");
navigation[323] = new navElem(323,"Antibacterials","pi-176009550.shtml",322,"DBT-004-6a");
navigation[324] = new navElem(324,"Antivirals","pi-1228741829.shtml",322,"DBT-004-6b");
navigation[325] = new navElem(325,"Antispetics & disinfectants","pi-1519559202.shtml",319,"DBT-004-8");
navigation[326] = new navElem(326,"Corticosteriods, topical","pi-316948149.shtml",319,"DBT-004-7");
navigation[327] = new navElem(327,"Corticosteriod combinations","pi2095404145.shtml",326,"DBT-004-7b");
navigation[328] = new navElem(328,"Corticosteriods plain","pi-1186309072.shtml",326,"DBT-004-7a");
navigation[329] = new navElem(329,"Other dermatologicals","pi-1744093096.shtml",319,"DBT-004-11");
navigation[330] = new navElem(330,"Genitro-urinary & sex hormones","pi-882166387.shtml",245,"DBT-005-1");
navigation[331] = new navElem(331,"Gynaecological anti-infectives","pi1983190986.shtml",330,"DBT-005-1a");
navigation[332] = new navElem(332,"Labour inducers/inhibitors","pi-80434557.shtml",330,"DBT-005-1b");
navigation[333] = new navElem(333,"Renal & bladder disorders","pi-1836952901.shtml",330,"DBT-005-1e");
navigation[334] = new navElem(334,"Sex hormones","pi-885806328.shtml",330,"DBT-005-1c");
navigation[335] = new navElem(335,"Androgens","pi361736310.shtml",334,"DBT-05-1c2");
navigation[336] = new navElem(336,"Gonadotrophins & ovulation stimulants","pi110268677.shtml",334,"DBT-05-1c5");
navigation[337] = new navElem(337,"Oestrogens, their combinations & related preparations","pi723165375.shtml",334,"DBT-05-1c3");
navigation[338] = new navElem(338,"Oral contraceptives","pi-1111605143.shtml",334,"DBT-05-1c1");
navigation[339] = new navElem(339,"Progestogens","pi886692756.shtml",334,"DBT-05-1c4");
navigation[340] = new navElem(340,"Urinary anti-infectives & other urologicals","pi-1102185502.shtml",330,"DBT-005-1d");
navigation[341] = new navElem(341,"Hormones (excluding sex hormones)","pi681520956.shtml",245,"DBT-005");
navigation[342] = new navElem(342,"Corticosteroids, systemic","pi821429089.shtml",341,"DBT-005-3");
navigation[343] = new navElem(343,"Thyroid & anti-thyroid preps","pi1434959374.shtml",341,"DBT-005-4");
navigation[344] = new navElem(344,"Immunomodulators","pi-1857178882.shtml",245,"DBT-016");
navigation[345] = new navElem(345,"Musculoskeletal system","pi-1800711616.shtml",245,"DBT-009");
navigation[346] = new navElem(346,"Anti-gout preparations","pi-1365498292.shtml",345,"DBT-009-4");
navigation[347] = new navElem(347,"Anti-rheumatics, systemic","pi1577252161.shtml",345,"DBT-009-1");
navigation[348] = new navElem(348,"Anti-rheumatics, topical","pi-98729362.shtml",345,"DBT-009-2");
navigation[349] = new navElem(349,"Muscle relaxants","pi1876869463.shtml",345,"DBT-009-3");
navigation[350] = new navElem(350,"Other therapeutic & non-therapeutics","pi-1560761689.shtml",245,"DBT-017");
navigation[351] = new navElem(351,"Parasitology","pi234913223.shtml",245,"DBT-011");
navigation[352] = new navElem(352,"Anti-parasitics","pi-1244207620.shtml",351,"DBT-011-1");
navigation[353] = new navElem(353,"Amoebicides","pi-1670982323.shtml",352,"DBT-011-1a");
navigation[354] = new navElem(354,"Anthelmintics","pi1945545866.shtml",352,"DBT-011-1b");
navigation[355] = new navElem(355,"Antimalarials","pi-236957629.shtml",352,"DBT-011-1c");
navigation[356] = new navElem(356,"Scabicides & pediculocides","pi239750600.shtml",352,"DBT-011-1d");
navigation[357] = new navElem(357,"Respiratory system","pi-823043031.shtml",245,"DBT-012");
navigation[358] = new navElem(358,"Antihistamines, systemic","pi934752684.shtml",357,"DBT-012-6");
navigation[359] = new navElem(359,"Bronchodilators and anti-asthma preps","pi351677012.shtml",357,"DBT-012-3");
navigation[360] = new navElem(360,"Inhalants","pi-1058674526.shtml",359,"DBT-012-3b");
navigation[361] = new navElem(361,"Orals/parenterals","pi-900929339.shtml",359,"DBT-012-3a");
navigation[362] = new navElem(362,"Cough & cold preparations","pi-1187952736.shtml",357,"DBT-012-5");
navigation[363] = new navElem(363,"Expectorants","pi1344141006.shtml",362,"DBT-012-5b");
navigation[364] = new navElem(364,"Nasal preparations","pi913967414.shtml",357,"DBT-012-1");
navigation[365] = new navElem(365,"Sensory organs","pi1892959037.shtml",245,"DBT-013");
navigation[366] = new navElem(366,"Ear preparations","pi-941855253.shtml",365,"DBT-013-2");
navigation[367] = new navElem(367,"Opthalmologicals","pi-403136582.shtml",365,"DBT-013-1");
navigation[368] = new navElem(368,"Anti-infectives","pi-223006797.shtml",367,"DBT-013-1a");
navigation[369] = new navElem(369,"Antivirals","pi2112556902.shtml",367,"DBT-013-1d");
navigation[370] = new navElem(370,"Corticosteroid anti-infectives","pi-510588647.shtml",367,"DBT-013-1c");
navigation[371] = new navElem(371,"Corticosteroids","pi544486520.shtml",367,"DBT-013-1b");
navigation[372] = new navElem(372,"Miotics, antiglaucoma preps","pi-1381541649.shtml",367,"DBT-013-1e");
navigation[373] = new navElem(373,"Mydriatics, cycloplegics","pi-1324262396.shtml",367,"DBT-013-1f");
navigation[374] = new navElem(374,"Non-specific anti-conjunctivitis preps","pi-1514617675.shtml",367,"DBT-013-1g");
navigation[375] = new navElem(375,"Other ophthalmologicals","pi-2039139886.shtml",367,"DBT-013-1h");

// getNavElementByCatID
function getNavElementByCatID(categoryId){
	for(var i=0; i<navigation.length; i++){
		if(navigation[i].categoryId==categoryId){
			return(navigation[i]);
			break;
			};
		};
		return(null);
	};
// changeLoc
function changeLoc(id,linkUrl){
	if(id!="nada"){
		xmlConfig.navIndex = id.toString();
		if(xmlConfig.getFirstItem("SearchEngine").ByCategory == "1"){
			if(id=="null") xmlConfig.getFirstItem("SearchEngine").categoryId = "null"
			else xmlConfig.getFirstItem("SearchEngine").categoryId = navigation[id].categoryId;
			xmlConfig.getFirstItem("SearchEngine").categoryIndex = id;
			}
		else{
			xmlConfig.getFirstItem("SearchEngine").categoryId = "null";
			xmlConfig.getFirstItem("SearchEngine").categoryIndex = "null";
			};
		safeData();
		location.href = linkUrl + "?categoryId=" + id.toString();
		};
	};
// searchOnEnterNavi
function searchOnEnterNavi(){
	if(window.event.keyCode==13){
		xmlConfig.getFirstItem('SearchEngine').term=document.searchEngine.searchTerm.value;
		location.href = "search.shtml";
		};
	};
// activates entries for categories
activateItem(getParameterFromURL("categoryId"));

