function SaveAs(){
	var win
	win = window.open("imagenes/msnPreview.jpg");
	win.document.execCommand("SaveAs");
	win.close();
}
function fPopUp(targeturl){
//window.open(targeturl,"","fullscreen")
		
		
		ancho=window.screen.width; 
		alto=window.screen.height; 
		
		
		
		uiW = 500;
		uiH = 300;
		
		
		sValorW = "width=" + uiW;
		sValorH = "height=" + uiH;

		
		
		anchof = (ancho - uiW)/2;
		altof = (alto - uiH)/2;
		
		//alert(anchof);
		
		targeturl = targeturl + "?uiValorW="+ uiW + "&uiValorH="+ uiH ;
			
		var myRef;
		myRef = window.open(targeturl,"fullscreen",'left=20,top=20,' + sValorW + ',' + sValorH + 
		',location=No, scrollbars=no,toolbar=0,status=0,resizable=no');
		myRef.focus();		
		myRef.moveTo(anchof,altof);


}

function fMenuMns(uiValor){
	//alert(uiValor);
	var start = new Date();
	var sTiempo = start.getTime();
	sVer = "?ver="+sTiempo;
	
	if (uiValor == 1){
		//msn avi
		document.pantalla.action = "descargas_img_msn_avi.php"+sVer;
		document.pantalla.submit();
	}else if (uiValor == 2){
		//msn click
		document.pantalla.action = "descargas_img_msn_click.php"+sVer;
		document.pantalla.submit();
	}else if (uiValor == 3){
		//msn toy
		document.pantalla.action = "descargas_img_msn_toy.php"+sVer;
		document.pantalla.submit();
	}
}
function fMenuEmoticons(uiValor){
	//alert(uiValor);
	var start = new Date();
	var sTiempo = start.getTime();
	sVer = "?ver="+sTiempo;
	
	if (uiValor == 1){
		//msn avi
		document.pantalla.action = "descargas_imagenes_emoticons_avi.php"+sVer;
		document.pantalla.submit();
	}else if (uiValor == 2){
		//msn click
		document.pantalla.action = "descargas_imagenes_emoticons_click.php"+sVer;
		document.pantalla.submit();
	}else if (uiValor == 3){
		//msn toy
		document.pantalla.action = "descargas_imagenes_emoticons_toy.php"+sVer;
		document.pantalla.submit();
	}
}