<!-- Begin POP-UP SIZES AND OPTIONS CODE


// ONLY USE lowercase FOR ALL OPTIONS


// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON


var close_button        = "yes"         // GALLERY CLOSE BUTTON ON/OFF
var slideshow_button    = "yes"         // SLIDESHOW BUTTON ON/OFF
right_click_on          = "yes"         // RIGHT CLICK PROTECTION ON
var viewer              = "no"          // yes/FULL SCREEN OR no/POPUP MODE


// OTHER OPTIONS YOU CAN CHANGE


border_color            = "000000"      // PICTURE OUTLINE COLOR
var background_colors   = "#FFFFFF"      // BACKROUND COLOR OF THE GALLERY POPUP

var view_width          = 650           // GALLERY POPUP WIDTH
var view_height         = 475           // GALLERY POPUP HEIGHT

var slideshow_width     = 650           // SLIDESHOW POPUP WINDOW WIDTH
var slideshow_height    = 475           // SLIDESHOW POPUP WINDOW HEIGHT

var FAQ_width           = 412           // FAQ POPUP WIDTH
var FAQ_height          = 684           // FAQ POPUP HEIGHT

var ADI_width           = 800           // ADI POPUP WIDTH
var ADI_height          = 500           // ADI POPUP HEIGHT

var ADI2_width          = 560           // ADI2 POPUP WIDTH
var ADI2_height         = 400           // ADI2 POPUP HEIGHT

var ADI3_width          = 620           // ADI3 POPUP WIDTH
var ADI3_height         = 520           // ADI3 POPUP HEIGHT

var ADI4_width          = 800           // ADI3 POPUP WIDTH - Seguimiento Envío
var ADI4_height         = 600           // ADI3 POPUP HEIGHT - Seguimiento Envío

var CODPOS_width        = 780           // ADI3 POPUP WIDTH - Codigo Postal
var CODPOS_height       = 490           // ADI3 POPUP HEIGHT - Codigo Postal

var AVISO1_width        = 440           // AVISO1 POPUP WIDTH - Aviso IDs
var AVISO1_height       = 708           // AVISO1 POPUP HEIGHT - Aviso IDs

var AVISO2_width        = 362           // AVISO2 POPUP WIDTH - Aviso Coche
var AVISO2_height       = 702           // AVISO2 POPUP HEIGHT - Aviso Coche

var SEVE_width          = 700           // SEVE POPUP WIDTH - SEVEMA
var SEVE_height         = 500           // SEVE POPUP HEIGHT - SEVEMA

var scrollbarS          = "0"           // TURN ON POPUP SCROLLBARS "1" FOR ON "0" FOR OFF
var faqscrollbarS       = "0"           // TURN ON FAQ SCROLLBARS "1" FOR ON "0" FOR OFF


// YOU DO NOT NEED TO EDIT BELOW THIS LINE

// START POPUP CODE

function popUp(URL) {
day = new Date();
id = day.getTime();
   if (viewer == "no") {
var look='toolbar=0,scrollbars=' + scrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
}
else 
if (viewer == "yes") {
popwin=window.open("","")
}
popwin.document.open()
popwin.document.write('<html><head><title>Estuches de Lujo para Celulares - Famiun</title>')
popwin.document.write('<link rel=StyleSheet href="corporatestyle.css" type="text/css" media="screen">')
   if (right_click_on == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\'Usted NO esta autorizado a usar el boton derecho de su mouse aquí !!!.\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#'+background_colors+'" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 marginheight=0 marginwidth=0>')
popwin.document.write('<TABLE cellpadding=0 cellspacing=0 border=0 width="100%" height="100%" ><tr><td align="center">')
popwin.document.write('<br>')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#' + border_color + '" style="border-collapse:collapse"><tr><td>')
popwin.document.write('<img src="'+URL+'">')
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr><tr><td valign="bottom" align="center">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="1" border="0" width="100%"><tr><td  width="50%">')
   if (close_button == "yes") {
popwin.document.write('<form style="margin: 0px"><input type="button" value="Cerrar" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" onClick=\'self.close()\'></form>')
}
   if (slideshow_button == "yes") {
popwin.document.write('</td><td width="50%">')
popwin.document.write('<form action="diapo.html" style="margin: 0px"><input type="submit" value="Ver Todos" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups"></form>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}



// START FAQ POPUP


function popUpFAQ(URL) {
day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+FAQ_width+',height='+FAQ_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}


// START ADI POPUP


function popUpADI(URL) {
day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+ADI_width+',height='+ADI_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}

// START ADI2 POPUP


function popUpADI2(URL) {
day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+ADI2_width+',height='+ADI2_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}

// START ADI3 POPUP


function popUpADI3(URL) {
day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+ADI3_width+',height='+ADI3_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}


// START ADI4 POPUP


function popUpADI4(URL) {
day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+ADI4_width+',height='+ADI4_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}


// START CODPOS POPUP


function popUpCODPOS(URL) {
day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+CODPOS_width+',height='+CODPOS_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}


// START AVISO1 POPUP


function popUpAVISO1(URL) {
day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+AVISO1_width+',height='+AVISO1_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}


// START AVISO2 POPUP


function popUpAVISO2(URL) {
day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+AVISO2_width+',height='+AVISO2_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}


// START SEVE POPUP


function popUpSEVE(URL) {
day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+SEVE_width+',height='+SEVE_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}


// START SLIDESHOW POPUP CODE

function popUpSlideshow(URL) {
day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + scrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+slideshow_width+',height='+slideshow_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}


//  End -->

