<!--

	function popupImage(oContent,oTitle) {
	var x = window.open('','windowName','menu=0,status=0,scrollbar=0,width=150,height=150,resizable=1');
	if( !x ) { return true; }

	x.document.open();
	x.document.write('<html><head><title>'+oTitle+'a<\/title>');
	x.document.write('<sc'+'ript>');
	x.document.writeln('var isNN,isIE;');
	x.document.writeln('var plImg = new Image();');
	x.document.writeln('plImg.src = "' + oContent + '";');
	x.document.writeln('function reSizeToImage(){var resizeFailed=false;');
	x.document.writeln('if (window.innerWidth && document.getElementById("ex_popimage").offsetWidth) {');
		x.document.writeln('width=document.getElementById("ex_popimage").offsetWidth;');
		x.document.writeln('window.innerWidth=width');
		x.document.writeln('window.innerHeight=document.getElementById("ex_popimage").offsetHeight;');
		x.document.writeln('document.title="'+oTitle+'";');
		x.document.writeln('if(width!=window.innerWidth || window.navigator.userAgent.indexOf("Opera") > -1)resizeFailed = true;');
	x.document.writeln('} else if(window.resizeTo && document.getElementById("ex_popimage").width) {');
		x.document.writeln('width=document.getElementById("ex_popimage").width + 15;');
		x.document.writeln('height=document.getElementById("ex_popimage").height + 30;');
		x.document.writeln('window.resizeTo(width,height);');
		x.document.writeln('document.title="'+oTitle+'";');
	x.document.writeln('} if(resizeFailed && window.resizeTo && document.getElementById("ex_popimage").offsetWidth) {');
		x.document.writeln('width=document.getElementById("ex_popimage").offsetWidth;');
		x.document.writeln('height=document.getElementById("ex_popimage").offsetHeight +((window.navigator.userAgent.indexOf("Safari") > -1)?27:36);');
		x.document.writeln('window.resizeTo(width,height);');
		x.document.writeln('document.title="'+oTitle+'";');
	x.document.writeln('} else if(resizeFailed && window.resizeTo && document.getElementById("ex_popimage").width) {');
		x.document.writeln('width=document.getElementById("ex_popimage").width + 15;');
		x.document.writeln('height=document.getElementById("ex_popimage").height + 30;');
		x.document.writeln('window.resizeTo(width,height);');
		x.document.writeln('document.title="'+oTitle+'";');
	x.document.writeln('} else if(false)alert(window.navigator.userAgent + " - " + window.innerWidth + " - " + document.getElementById("ex_popimage").offsetWidth + " - " + document.getElementById("ex_popimage").width)');
	
	x.document.writeln('}</sc'+'ript>');
	x.document.write('<\/head><body style="margin:0;padding:0;background-color:#ccc" id="ex_popbody" scroll="no" onload="reSizeToImage();self.focus();">');
	x.document.write('<img id="ex_popimage" name="ex_popimage" src="'+oContent+'" alt="'+oTitle+'" onclick="window.close();" \/><\/body><\/html>');
	x.document.close();
	
	if( x.focus ) { x.focus(); }
	return false;
}


function showPointInfos(id,objRef) {
if(document.getElementById) {
  hideAllPointInfos();
  hideAllPointPreInfos();
  divRef = document.getElementById("infoCont_" + id);
  divRef.style.display = "block";
}
}

function hideAllPointInfos() {
   if(document.getElementsByTagName) {
   divColl = document.getElementsByTagName("div");

   for(i=0;i<divColl.length;i++) {
     if(divColl[i].id && divColl[i].id.substr(0,9) == 'infoCont_') divColl[i].style.display = 'none';
   }
   }
}

function showPointPreInfos(id,objRef) {
  if(document.getElementById) {
  divRef = document.getElementById("preInfo_" + id);
  divRef.style.display = 'block';
  }
}

function hideAllPointPreInfos() {
   if(document.getElementsByTagName) {
   divColl = document.getElementsByTagName("div");
	if(divColl.length > 0) {
	   for(i=0;i<divColl.length;i++) {
	     if(divColl[i].id && divColl[i].id.substr(0,8) == 'preInfo_') divColl[i].style.display = 'none';
	   }
   }
   }
}

window.onload = function() {
	
	if(document.getElementById) {
		objRef = document.getElementById('qsearchform');
		objRef2 = document.getElementById('prodlist');
		
		if(objRef2) {
			objRef2.onsubmit = function() {
				str = '';
				for(i=0;i<this.elements.length;i++) {
					elem = this.elements[i];
					if(elem.value != '') str += elem.name + "=" + elem.value + "&";
				}
				str = objRef2.action + "?" + str;
				//alert(str);
				document.location = str;
				return false;
			}
		}
		
		if(objRef) {
			objRef.onsubmit = function() {
				qSearchBtn = document.getElementById('qsearch');
				if(qSearchBtn.value == '')return false;
				else return true;
			}
		} 
	}
}

-->