function open_bikes(url){
	window.open(url,'pop','height=450,width=680,location=no,resizable=no,scrollbars=no');
}

function open_parts(url){
	window.open(url,'pop','height=445,width=675,location=no,resizable=no,scrollbars=no');
}

function open_ciclisti(url){
	window.open(url,'pop','height=445,width=675,location=no,resizable=no,scrollbars=no');
}


/*function open_myway(url,scrolls){
	now=new Date();
	window.open(url,'nome'+now.getMinutes()+now.getMilliseconds(),location=no,resizable=yes,scrollbars=yes,fullscreen,status=no');
}*/

function open_pop(url,w,h,scrolls){
	now=new Date();
	window.open(url,'nome'+now.getMinutes()+now.getMilliseconds(),'height='+h+',width='+w+',location=no,resizable=no,scrollbars='+scrolls+',status=no');
}

function open_map(url,w,h){
	now=new Date();
	window.open(url,'nome'+now.getMinutes()+now.getMilliseconds(),'height='+h+',width='+w+',location=no,resizable=no,scrollbars=no,status=no');
}

function open_it(url,w,h){
	now=new Date();
	window.open(url,'nome'+now.getMinutes()+now.getMilliseconds(),'height='+h+',width='+w+',location=no,resizable=no,scrollbars=no,status=no');
}


function open_colors(url,h,w,scrolls){
	now=new Date();
	window.open(url,'nome'+now.getMinutes()+now.getMilliseconds(),'height='+h+',width='+w+',location=no,resizable=no,scrollbars=yes,status=no');
}


function center_me(w,h){
	if(navigator.appName.indexOf('Explorer')+1){
		var win_width=w;
		var win_height=h;
	} else {
		var win_width=window.outerWidth;
		var win_height=window.outerHeight;
	}
	var pos_x=(screen.width-win_width)/2;
	var pos_y=(screen.height-win_height)/2;
	moveTo(pos_x,pos_y);
}


  function apriImg(nomeImmagine,linkImmagine) {

		    img = document.getElementById('thumb_bike');
		    lnk = document.getElementById('link_bike');
		    img.src=nomeImmagine;
		    lnk.href=linkImmagine;
		}


