function assignImgFunBt(){

 //alert('controlla verutility.js');
/*
	divElements = document.getElementsByTagName("a");
    relElems = [];

    for (i = 0; i < divElements.length; i++) {
        
        if (divElements[i].getAttribute("rel")) {
         
         	if(divElements[i].getAttribute('rel')=='vote,info'){

	            	divElements[i].onclick = function(){

							popinfoobj = this;
							var votexmlHttp = GetXmlHttpObject() //See if it works with users browser.
							var url = RootPath+"www/ajaxindex.php?pag=../www/ajaxphp/votafoto.php";
							var params = Array();
							params.push('id=' + this.id);
							var mypars = params.join("&");
							votexmlHttp.open("POST", url, true);

							//Send the proper header information along with the request
							votexmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
							votexmlHttp.setRequestHeader("Content-length", mypars.length);
							votexmlHttp.setRequestHeader("Connection", "close");
						
							votexmlHttp.onreadystatechange = function (){
									
									if (votexmlHttp.readyState==4 || votexmlHttp.readyState=="complete")
									{ 							
										var msg = votexmlHttp.responseText;
							
										openInfoMsg(popinfoobj,msg);
									};
									
							}
							votexmlHttp.send(mypars);
									
					}
            }
       
            if(divElements[i].getAttribute('rel')=='card,info'){
            	    divElements[i].onclick = function(){
						 location.href = "../../postcards/?id="+this.id; 
					}
            }
                      
        }
    }
*/
}

function hpvergenerator(){
		/*
		var mystr  = '';
		var params = Array();
		var mypars = params.join("&");

		xmlHttp=GetXmlHttpObject() //See if it works with users browser.
	   
		var url="../www/ajaxindex.php?pag=../www/pages/shop/hookpagegenerator.php";
		
		xmlHttp.open("POST", url, true);
		xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
		xmlHttp.setRequestHeader("Content-length", params.length);
		xmlHttp.setRequestHeader("Connection", "close");
		xmlHttp.send(mypars);	
		*/
}





