//
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 += "Produse:<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">' + "Vizualizare cos</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\">Categorii</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="DETECTOARE RADAR" border="0"></td>';
			};
		if(navItem.active) strHTML += '<td width="1%" class="ACTIVECATEGORY"><img src="assets/images/bulletcatact.gif" width="13" height="14" alt="BulletCatActiv" 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="BulletCatEpanded" 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="Categorie" 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,"PROMOTII&nbsp(55)","pi-1541835838.htm",null,"1004");
navigation[1] = new navElem(1,"DETECTOARE RADAR, distribuitor detectoare radar","pi1761896377.htm",null,"1020");
navigation[2] = new navElem(2,"Beltronics Detectoare Radar, distribuitor detectoare radar&nbsp(12)","pi1075543348.htm",1,"113");
navigation[3] = new navElem(3,"Escort Detectoare Radar, distribuitor detectoare radar&nbsp(9)","pi271883688.htm",1,"114");
navigation[4] = new navElem(4,"Whistler Detectoare Radar, distribuitor detectoare radar&nbsp(33)","pi-1111931756.htm",1,"115");
navigation[5] = new navElem(5,"Cobra Detectoare Radar, distribuitor detectoare radar&nbsp(25)","pi-1130738241.htm",1,"117");
navigation[6] = new navElem(6,"PNI Detectoare Radar, distribuitor detectoare radar&nbsp(6)","pi-731201628.htm",1,"118");
navigation[7] = new navElem(7,"Rocky Mountain Detectoare radar&nbsp(1)","pi2033186306.htm",1,"119");
navigation[8] = new navElem(8,"Detectoare radar Valentine One 1&nbsp(1)","pi-971036848.htm",1,"120");
navigation[9] = new navElem(9,"Blinder LaserJammer&nbsp(1)","pi-1236724580.htm",1,"121");
navigation[10] = new navElem(10,"Bytrex Detectoare Radar&nbsp(4)","pi1198135939.htm",1,"122");
navigation[11] = new navElem(11,"Accesorii detector radar Detectoare Radar&nbsp(9)","pi1201322852.htm",1,"123");
navigation[12] = new navElem(12,"Detector de alcool Detectoare Radar&nbsp(1)","pi-1252119141.htm",1,"124");
navigation[13] = new navElem(13,"Foto Radar Detectoare Radar&nbsp(4)","pi1129567432.htm",1,"125");
navigation[14] = new navElem(14,"Alarme auto&nbsp(3)","pi133624673.htm",1,"126");
navigation[15] = new navElem(15,"Accesorii Auto","pi1109514254.htm",1,"127");
navigation[16] = new navElem(16,"Bluetooth Intercom, distribuitor detectoare radar","pi1205570098.htm",15,"116");
navigation[17] = new navElem(17,"FM transmiter, distribuitor detectoare radar&nbsp(4)","pi1133629862.htm",15,"130");
navigation[18] = new navElem(18,"Huse pt. masina, distribuitor detectoare radar&nbsp(2)","pi-1680827240.htm",15,"140");
navigation[19] = new navElem(19,"MP3 portabil, distribuitor detectoare radar","pi1110440181.htm",15,"151");
navigation[20] = new navElem(20,"Sony MP3 player portabil&nbsp(4)","pi-1881549270.htm",19,"1511");
navigation[21] = new navElem(21,"Panasonic MP3 payer portabil&nbsp(5)","pi1817871775.htm",19,"1512");
navigation[22] = new navElem(22,"Top vanzari accesorii auto&nbsp(3)","pi1227002157.htm",null,"1021");
navigation[23] = new navElem(23,"Detector alcool, detectoare alcool profesionale, etilotest, etilometru&nbsp(14)","pi-207808611.htm",null,"1022");
navigation[24] = new navElem(24,"Detectoare de gaz&nbsp(8)","pi1181377360.htm",null,"1023");
navigation[25] = new navElem(25,"Produse pentru casa TA","pi1171390523.htm",null,"1024");
navigation[26] = new navElem(26,"Aparate de ras&nbsp(3)","pi-350300337.htm",25,"1005");
navigation[27] = new navElem(27,"Interfon si videofone&nbsp(2)","pi-1482901521.htm",25,"1031");
navigation[28] = new navElem(28,"Detector Ultraviolete si Radiatii&nbsp(3)","pi1909568929.htm",25,"10321");
navigation[29] = new navElem(29,"Proiectoare, importator camere foto, video, accesorii&nbsp(3)","pi-103172778.htm",25,"1040");
navigation[30] = new navElem(30,"Stocare Multimedia","pi400056130.htm",25,"1054");
navigation[31] = new navElem(31,"MP3 si MP4 player portabil&nbsp(10)","pi-622119217.htm",30,"1033");
navigation[32] = new navElem(32,"Player si recorder audio video&nbsp(24)","pi1144404320.htm",30,"10531");
navigation[33] = new navElem(33,"CCTV camere de supraveghere video&nbsp(7)","pi-49129292.htm",null,"1025");
navigation[34] = new navElem(34,"Instalatii xenon&nbsp(7)","pi1418412220.htm",null,"1030");
navigation[35] = new navElem(35,"Laptopuri","pi-1715146179.htm",null,"1032");
navigation[36] = new navElem(36,"Laptop Dell Inspiron&nbsp(14)","pi1222425797.htm",35,"103201");
navigation[37] = new navElem(37,"Laptop Dell Vostro&nbsp(14)","pi1460524223.htm",35,"103203");
navigation[38] = new navElem(38,"Laptop Dell XPS&nbsp(11)","pi-53484998.htm",35,"103204");
navigation[39] = new navElem(39,"Laptop Toshiba&nbsp(1)","pi1155071839.htm",35,"103210");
navigation[40] = new navElem(40,"Navigatie GPS Romania, distribuitor sisteme  navigatie","pi-858159378.htm",null,"1034");
navigation[41] = new navElem(41,"Navigatie GPS Romania, Modele 2008&nbsp(11)","pi-103515079.htm",40,"1035");
navigation[42] = new navElem(42,"Navigatie GPS Romania, Modele 2007&nbsp(9)","pi-2093675514.htm",40,"1036");
navigation[43] = new navElem(43,"DVD/CD auto cu TV si NAVIGATIE","pi-1820689869.htm",null,"1037");
navigation[44] = new navElem(44,"DVD auto cu TV si Navigatie&nbsp(3)","pi-1829959324.htm",43,"105511");
navigation[45] = new navElem(45,"CD auto Sony&nbsp(13)","pi1507743443.htm",43,"105513");
navigation[46] = new navElem(46,"DVD portabil&nbsp(3)","pi836251371.htm",43,"105516");
navigation[47] = new navElem(47,"Televizor portabil, distribuitor camere foto, video&nbsp(1)","pi1170279194.htm",43,"1059");
navigation[48] = new navElem(48,"Reportofon, sisteme de inregistrare&nbsp(25)","pi-1808918741.htm",null,"1045");
navigation[49] = new navElem(49,"Statii TAXI, 135-174 Mhz, distribuitor statii radio","pi1505312095.htm",null,"1049");
navigation[50] = new navElem(50,"Statii profesionale Midland 135-174Mhz&nbsp(10)","pi-2004226984.htm",49,"104910");
navigation[51] = new navElem(51,"Statii taxi Maxon&nbsp(2)","pi1217764217.htm",49,"104920");
navigation[52] = new navElem(52,"Antene pentru statii TAXI&nbsp(6)","pi-1877764206.htm",49,"104930");
navigation[53] = new navElem(53,"Accesorii statii TAXI&nbsp(6)","pi2015285419.htm",49,"104940");
navigation[54] = new navElem(54,"STATII RADIO camion TIR si autoturism, distribuitor statii radio","pi1119720023.htm",null,"1050");
navigation[55] = new navElem(55,"STATII RADIO CAMION CB 27 Mhz, distribuitor statii radio","pi410130709.htm",54,"10501");
navigation[56] = new navElem(56,"Statii radio Midland, statie Alan&nbsp(10)","pi-436072585.htm",55,"105000");
navigation[57] = new navElem(57,"Statii radio TTi, distribuitor statii radio&nbsp(7)","pi318874092.htm",55,"105005");
navigation[58] = new navElem(58,"Statii radio President&nbsp(4)","pi-1379697027.htm",55,"105010");
navigation[59] = new navElem(59,"Statii radio Magnum&nbsp(1)","pi-1467528678.htm",55,"105015");
navigation[60] = new navElem(60,"Statii radio CB Maxon, distribuitor statii radio&nbsp(2)","pi-541524717.htm",55,"105018");
navigation[61] = new navElem(61,"Antene pt. statii radio camion 27 MHz, distribuitor statii radio","pi1792493234.htm",54,"10502");
navigation[62] = new navElem(62,"Antene Midland, model Alan&nbsp(25)","pi1211439120.htm",61,"1050210");
navigation[63] = new navElem(63,"Antene Sirio&nbsp(4)","pi-1624638274.htm",61,"1050215");
navigation[64] = new navElem(64,"Antene President&nbsp(3)","pi418618065.htm",61,"1050220");
navigation[65] = new navElem(65,"Antene TTi&nbsp(3)","pi1224070950.htm",61,"1050225");
navigation[66] = new navElem(66,"Antene Sharman&nbsp(1)","pi-479621348.htm",61,"1050230");
navigation[67] = new navElem(67,"Antene pt. statie radio de autoturism 27Mhz &nbsp(4)","pi1195543514.htm",54,"10503");
navigation[68] = new navElem(68,"Aparate de masura si reglaj&nbsp(3)","pi-472164021.htm",54,"10504");
navigation[69] = new navElem(69,"Amplificatoare pentru statii radio CB&nbsp(14)","pi1914246119.htm",54,"10505");
navigation[70] = new navElem(70,"Scanere&nbsp(2)","pi204449019.htm",54,"10506");
navigation[71] = new navElem(71,"Alte accesorii CB","pi1154335920.htm",54,"10507");
navigation[72] = new navElem(72,"Acumulatori R6, distribuitor statii radio&nbsp(2)","pi1343687091.htm",71,"10508");
navigation[73] = new navElem(73,"Boxa externa, distribuitor statii radio&nbsp(4)","pi759811588.htm",71,"10509");
navigation[74] = new navElem(74,"Convertor DC-DC 24V-12V, distribuitor statii radio&nbsp(6)","pi1175410894.htm",71,"10510");
navigation[75] = new navElem(75,"Cablu, distribuitor statii radio&nbsp(3)","pi-709885311.htm",71,"10512");
navigation[76] = new navElem(76,"Comunicare prin Bluetooth, distribuitor statii radio&nbsp(4)","pi581231709.htm",71,"10515");
navigation[77] = new navElem(77,"Carcase speciale pentru montaj, distribuitor statii radio&nbsp(5)","pi-428004907.htm",71,"10517");
navigation[78] = new navElem(78,"Cablu de legatura si mufe de legatura, distribuitor statii radio&nbsp(5)","pi1810789145.htm",71,"10520");
navigation[79] = new navElem(79,"Filtru pentru statii CB, distribuitor statii radio&nbsp(1)","pi582098191.htm",71,"10523");
navigation[80] = new navElem(80,"Husa si geanta pentru statii radio&nbsp(2)","pi1493230146.htm",71,"10525");
navigation[81] = new navElem(81,"Montura cu magnet, distribuitor statii radio&nbsp(6)","pi-1663334421.htm",71,"10530");
navigation[82] = new navElem(82,"Microfoane pentru statii radio CB, distribuitor statii radio&nbsp(14)","pi-1930904740.htm",71,"10540");
navigation[83] = new navElem(83,"Surse de transformare de la 220V la 13V, distribuitor statii radio&nbsp(5)","pi401013769.htm",71,"10550");
navigation[84] = new navElem(84,"Suport de prindere antena. Alte accesorii.&nbsp(4)","pi1440983298.htm",71,"10560");
navigation[85] = new navElem(85,"Suport prindere Microfon, distribuitor statii radio&nbsp(2)","pi-1384271065.htm",71,"10565");
navigation[86] = new navElem(86,"Ventilatoare de interior, distribuitor statii radio&nbsp(2)","pi1203780200.htm",71,"10570");
navigation[87] = new navElem(87,"Vitrine pentru statii radio, distribuitor statii radio&nbsp(4)","pi1451137570.htm",71,"10580");
navigation[88] = new navElem(88,"Statii radio PMR 446 Mhz, distribuitor statii radio&nbsp(42)","pi1143393977.htm",null,"1051");
navigation[89] = new navElem(89,"Statii radio maritime, distribuitor statii radio&nbsp(12)","pi-539468578.htm",null,"1052");
navigation[90] = new navElem(90,"Statii radio profesionale, distribuitor statii radio","pi-208137883.htm",null,"1053");
navigation[91] = new navElem(91,"Statii radio profesionale 446.001 - 446.100 MHz, frecventa libera&nbsp(19)","pi-2046496155.htm",90,"105310");
navigation[92] = new navElem(92,"Statie radio profesionala 146 - 174 Mhz&nbsp(2)","pi190822894.htm",90,"105320");
navigation[93] = new navElem(93,"Statie radio profesionala 405 - 470 Mhz&nbsp(3)","pi1449099991.htm",90,"105330");
navigation[94] = new navElem(94,"Statie radio profesionala 66 - 77 Mhz&nbsp(1)","pi-1055446580.htm",90,"105340");
navigation[95] = new navElem(95,"Statie radio profesionala 77 - 88 Mhz&nbsp(1)","pi933208285.htm",90,"105350");
navigation[96] = new navElem(96,"Statii radio Motociclisti, distribuitor statii radio&nbsp(9)","pi-280999098.htm",null,"1053100");
navigation[97] = new navElem(97,"Solutii comunicare fara fir la distanta intre motociclisti&nbsp(7)","pi1222067217.htm",96,"1053150");
navigation[98] = new navElem(98,"RAME DIGITALE&nbsp(3)","pi1178185388.htm",null,"1056");
navigation[99] = new navElem(99,"Telescoape si Binocluri","pi30375767.htm",null,"1057");
navigation[100] = new navElem(100,"Binocluri, distribuitor camere foto, video&nbsp(25)","pi1134074109.htm",99,"100501");
navigation[101] = new navElem(101,"Telescoape, distribuitor camere foto, video&nbsp(5)","pi159789690.htm",99,"100502");
navigation[102] = new navElem(102,"Monocluri, distribuitor camere foto, video&nbsp(1)","pi1685651092.htm",99,"100503");
navigation[103] = new navElem(103,"Telefoane mobile si fixe","pi1103140271.htm",null,"1058");
navigation[104] = new navElem(104,"Telefoane mobile si accesorii, distribuitor telefoane fixe si mobile","pi-511729570.htm",103,"105501");
navigation[105] = new navElem(105,"Nokia&nbsp(1)","pi-1196690219.htm",104,"10552");
navigation[106] = new navElem(106,"Apple&nbsp(3)","pi1196282990.htm",104,"10555");
navigation[107] = new navElem(107,"Telefoane fixe, distribuitor telefoane fixe si mobile&nbsp(3)","pi251896967.htm",103,"105502");
navigation[108] = new navElem(108,"Camere FOTO","pi-2061527725.htm",null,"1061");
navigation[109] = new navElem(109,"Fujifilm Camere Foto, distribuitor camere foto, video&nbsp(22)","pi-2142765342.htm",108,"52");
navigation[110] = new navElem(110,"Kodak Camere Foto, distribuitor camere foto, video&nbsp(2)","pi1089262470.htm",109,"59");
navigation[111] = new navElem(111,"Nikon Camere Foto&nbsp(35)","pi-185540010.htm",108,"53");
navigation[112] = new navElem(112,"Canon Camere Foto, distribuitor camere foto, video&nbsp(22)","pi1037280216.htm",108,"54");
navigation[113] = new navElem(113,"Sony Camere Foto, distribuitor camere foto, video&nbsp(10)","pi1077731069.htm",108,"55");
navigation[114] = new navElem(114,"Olympus Camere Foto, distribuitor camere foto, video&nbsp(9)","pi-1176272718.htm",108,"56");
navigation[115] = new navElem(115,"HP Camere Foto, distribuitor camere foto, video&nbsp(4)","pi875610100.htm",108,"58");
navigation[116] = new navElem(116,"Pentax Camere Foto, distribuitor camere foto, video&nbsp(6)","pi1380598295.htm",108,"60");
navigation[117] = new navElem(117,"Panasonic Camere Foto, distribuitor camere foto, video&nbsp(4)","pi1093547669.htm",108,"61");
navigation[118] = new navElem(118,"Samsung, distribuitor camere foto, video&nbsp(2)","pi-604473418.htm",108,"62");
navigation[119] = new navElem(119,"Camera foto DXG, distribuitor camere foto, video&nbsp(6)","pi1194475357.htm",108,"63");
navigation[120] = new navElem(120,"Accesorii foto, distribuitor camere foto, video","pi1077257195.htm",108,"64");
navigation[121] = new navElem(121,"Blituri externe, flash Accesorii Foto, distribuitor camere foto, video, accesorii&nbsp(26)","pi-1472576033.htm",120,"65");
navigation[122] = new navElem(122,"Cabluri USB, TV-AV si alte accesorii Accesorii Foto&nbsp(10)","pi-449636710.htm",120,"66");
navigation[123] = new navElem(123,"Carduri de memorie, distribuitor camere foto, video","pi693397416.htm",120,"67");
navigation[124] = new navElem(124,"Compact Flash Card Accesorii Foto, importator camere foto, video si accesorii&nbsp(15)","pi-1751053391.htm",123,"68");
navigation[125] = new navElem(125,"XD Picture Card Accesorii Foto&nbsp(3)","pi1109620363.htm",123,"70");
navigation[126] = new navElem(126,"Memory Stick Accesorii Foto&nbsp(11)","pi-1468221328.htm",123,"71");
navigation[127] = new navElem(127,"Secure Digital (SD) memory card Accesorii Foto&nbsp(11)","pi-1894771682.htm",123,"72");
navigation[128] = new navElem(128,"Smart Media Flash Card Accesorii Foto, distribuitor camere foto, video&nbsp(2)","pi-1989771961.htm",123,"73");
navigation[129] = new navElem(129,"Multimedia Card Accesorii Foto&nbsp(1)","pi1783746428.htm",123,"74");
navigation[130] = new navElem(130,"Microdrive Accesorii Foto&nbsp(2)","pi404834243.htm",123,"75");
navigation[131] = new navElem(131,"Memorii & Stocare Accesorii Foto&nbsp(5)","pi-1606085142.htm",123,"76");
navigation[132] = new navElem(132,"Alte accesorii reader/writer, adaptoare de carduri etc Accesorii Foto&nbsp(4)","pi-1094580934.htm",123,"77");
navigation[133] = new navElem(133,"Lentile, Lens Adapter, Convertoare&nbsp(19)","pi-141096489.htm",120,"78");
navigation[134] = new navElem(134,"Gripuri, distribuitor camere foto, video&nbsp(3)","pi1159541479.htm",120,"79");
navigation[135] = new navElem(135,"Filtre, distribuitor camere foto, video","pi1112647127.htm",120,"80");
navigation[136] = new navElem(136,"Filtru 33mm, distribuitor camere foto, video&nbsp(1)","pi1378835253.htm",135,"8043");
navigation[137] = new navElem(137,"Filtru 37mm, distribuitor camere foto, video&nbsp(2)","pi1933379546.htm",135,"8045");
navigation[138] = new navElem(138,"Filtru 43mm, distribuitor camere foto, video, accesorii&nbsp(1)","pi-1253651551.htm",135,"8050");
navigation[139] = new navElem(139,"Filtru 48mm, distribuitor camere foto, video&nbsp(2)","pi827232565.htm",135,"8055");
navigation[140] = new navElem(140,"Filtru 55mm, distribuitor camere foto, video&nbsp(8)","pi411785624.htm",135,"8060");
navigation[141] = new navElem(141,"Filtru 58mm, distribuitor camere foto, video&nbsp(7)","pi-1978944171.htm",135,"8065");
navigation[142] = new navElem(142,"Fitru 67mm, distribuitor camere foto, video&nbsp(6)","pi-930931607.htm",135,"8070");
navigation[143] = new navElem(143,"Filtru 72mm, distribuitor camere foto, video&nbsp(7)","pi1541308381.htm",135,"8075");
navigation[144] = new navElem(144,"Filtru 74mm, distribuitor camere foto, video, accesorii&nbsp(2)","pi-1411696448.htm",135,"8077");
navigation[145] = new navElem(145,"Fitru 77mm, distribuitor camere foto, video&nbsp(8)","pi1263025491.htm",135,"8080");
navigation[146] = new navElem(146,"Fitru 82mm, distribuitor camere foto, video&nbsp(4)","pi-1171275206.htm",135,"8095");
navigation[147] = new navElem(147,"Filtru 86mm, distribuitor camere foto, video&nbsp(2)","pi-1155275572.htm",135,"8097");
navigation[148] = new navElem(148,"Genti pt. camera digitala, distribuitor camere foto, video","pi1237623348.htm",120,"81");
navigation[149] = new navElem(149,"Accesorii Foto Genti CANON, distribuitor camere foto, video&nbsp(11)","pi1120419648.htm",148,"831");
navigation[150] = new navElem(150,"Accesorii Foto Genti FUJI, distribuitor camere foto, video&nbsp(3)","pi459608674.htm",148,"840");
navigation[151] = new navElem(151,"Accesorii Foto Genti NIKON, distribuitor camere foto, video&nbsp(3)","pi672050374.htm",148,"845");
navigation[152] = new navElem(152,"Accesorii foto Alte Genti, distribuitor camere foto, video&nbsp(5)","pi2074585052.htm",148,"849");
navigation[153] = new navElem(153,"Accesorii Foto Genti SONY, distribuitor camere foto, video&nbsp(7)","pi906403393.htm",148,"850");
navigation[154] = new navElem(154,"Incarcatori si acumulatori, AC ADAPTER Accesorii Foto&nbsp(62)","pi-1158207351.htm",120,"86");
navigation[155] = new navElem(155,"Obiective, Accesorii Foto, distribuitor camere foto, video","pi1100434659.htm",120,"87");
navigation[156] = new navElem(156,"Teleobiective Canon, distribuitor camere foto, video&nbsp(33)","pi1158785713.htm",155,"8710");
navigation[157] = new navElem(157,"Teleobiective Nikon, distribuitor camere foto, video&nbsp(30)","pi-88733922.htm",155,"8720");
navigation[158] = new navElem(158,"Teleobiective Fuji, distribuitor camere foto, video&nbsp(4)","pi1306801223.htm",155,"8730");
navigation[159] = new navElem(159,"Teleobiective Sigma, distribuitor camere foto, video, accesorii&nbsp(16)","pi-1495991684.htm",155,"8740");
navigation[160] = new navElem(160,"Teleobiective Sony, distribuitor camere foto, video&nbsp(11)","pi-545558579.htm",155,"8750");
navigation[161] = new navElem(161,"Teleobiective Kenko, distribuitor camere foto, video&nbsp(4)","pi1373822356.htm",155,"8760");
navigation[162] = new navElem(162,"Teleobiective Raynox, distribuitor camere foto, video&nbsp(5)","pi485555553.htm",155,"8770");
navigation[163] = new navElem(163,"Alte Teleobiective&nbsp(3)","pi-1337998349.htm",155,"8780");
navigation[164] = new navElem(164,"Trepiede Accesorii Foto&nbsp(8)","pi-979085962.htm",120,"88");
navigation[165] = new navElem(165," Altele Accesorii Foto&nbsp(7)","pi1127138796.htm",120,"89");
navigation[166] = new navElem(166,"Film Scaner, distribuitor camere foto, video&nbsp(3)","pi1098822756.htm",108,"650");
navigation[167] = new navElem(167,"Imprimante foto, distribuitor camere foto, video&nbsp(19)","pi-285548199.htm",108,"651");
navigation[168] = new navElem(168,"Camere VIDEO","pi2083942790.htm",null,"1065");
navigation[169] = new navElem(169,"Sony Camere Video, distribuitor camere foto, video ","pi1389034557.htm",168,"92");
navigation[170] = new navElem(170,"Camere video Sony, Model 2008&nbsp(28)","pi-201761468.htm",169,"9210");
navigation[171] = new navElem(171,"Camere video Sony, Model 2007&nbsp(16)","pi1394566959.htm",169,"9220");
navigation[172] = new navElem(172,"Panasonic Camere Video, distribuitor camere foto, video&nbsp(6)","pi1086591245.htm",168,"93");
navigation[173] = new navElem(173,"Canon Camere Video, distribuitor camere foto, video&nbsp(7)","pi706992101.htm",168,"94");
navigation[174] = new navElem(174,"JVC Camere Video, distribuitor camere foto, video&nbsp(4)","pi1897644352.htm",168,"95");
navigation[175] = new navElem(175,"Video Recorder, distribuitor camere foto, video&nbsp(4)","pi1163320392.htm",168,"96");
navigation[176] = new navElem(176,"Accesorii video, distribuitor camere foto, video","pi-1970461510.htm",168,"97");
navigation[177] = new navElem(177,"Acumulatori Incarcatori AC Adapter Accesorii Video&nbsp(46)","pi1550844842.htm",176,"10008");
navigation[178] = new navElem(178,"Blituri & Lampi Accesorii Video, distribuitor camere foto, video&nbsp(20)","pi2050992947.htm",176,"10009");
navigation[179] = new navElem(179,"Cabluri, casete, DVD, Accesorii Video,  distribuitor camere foto, video&nbsp(21)","pi-2021842793.htm",176,"10010");
navigation[180] = new navElem(180,"Carduri Accesorii Video, distribuitor camere foto, video&nbsp(8)","pi-1305888454.htm",176,"10011");
navigation[181] = new navElem(181,"Filtre Accesorii Video, distribuitor camere foto, video&nbsp(6)","pi-75800349.htm",176,"10012");
navigation[182] = new navElem(182,"Genti Accesorii Video, distribuitor camere foto, video&nbsp(20)","pi394000872.htm",176,"10013");
navigation[183] = new navElem(183,"Husa de ploaie, distribuitor camere foto, video&nbsp(1)","pi1210185011.htm",176,"100130");
navigation[184] = new navElem(184,"Microfoane & Transmisie fara fir Accesorii Video&nbsp(24)","pi-2145521511.htm",176,"10014");
navigation[185] = new navElem(185,"Mixer Video si Audio Accesorii Video, importator camere foto, video&nbsp(8)","pi-830922118.htm",176,"10015");
navigation[186] = new navElem(186,"Parasolare, distribuitor camere foto, video&nbsp(2)","pi1183651670.htm",176,"10016");
navigation[187] = new navElem(187,"Teleobiective si Lentile Accesorii Video, importator camere foto, video&nbsp(21)","pi-1094653448.htm",176,"10018");
navigation[188] = new navElem(188,"Trepiede Accesorii Video, distribuitor camere foto, video&nbsp(21)","pi1112265640.htm",176,"10019");
navigation[189] = new navElem(189,"Forum","http://www.forum.magazin-online.ro",null,"1069");
navigation[190] = new navElem(190,"Links exchange","http://www.magazin-online.ro/links/",null,"1070");
navigation[191] = new navElem(191,"SITEMAP","http://www.magazin-online.ro/sitemap.html",null,"1080");

// 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.htm";
		};
	};
// activates entries for categories
activateItem(getParameterFromURL("categoryId"));


