function launch(newURL, newName, newFeatures, orgName) {
  var remote = open(newURL, newName, newFeatures);
  if (remote.opener == null)
    remote.opener = window;
  remote.opener.name = orgName;
  return remote;
}

function launchRemote(page) {
        if(page==1){
                myRemote = launch("gallery/vid_01.html", "vid01", "width=580,height=450,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==2){
                myRemote = launch("gallery/gal_02.html", "gal02", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==3){
                myRemote = launch("gallery/gal_03.html", "gal03", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==4){
                myRemote = launch("gallery/gal_04.html", "gal04", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==5){
                myRemote = launch("gallery/gal_05.html", "gal05", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==6){
                myRemote = launch("gallery/gal_06.html", "gal06", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==7){
                myRemote = launch("gallery/gal_07.html", "gal07", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==8){
                myRemote = launch("gallery/gal_08.html", "gal08", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==9){
                myRemote = launch("gallery/gal_09.html", "gal09", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==10){
                myRemote = launch("gallery/gal_10.html", "gal10", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==11){
                myRemote = launch("gallery/gal_11.html", "gal11", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==12){
                myRemote = launch("gallery/gal_12.html", "gal12", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==13){
                myRemote = launch("gallery/gal_13.html", "gal13", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==14){
                myRemote = launch("gallery/gal_14.html", "gal14", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==15){
                myRemote = launch("gallery/gal_15.html", "gal15", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==16){
                myRemote = launch("gallery/gal_16.html", "gal16", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==17){
                myRemote = launch("gallery/gal_17.html", "gal17", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==18){
                myRemote = launch("gallery/gal_18.html", "gal18", "width=800,height=462,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==19){
                myRemote = launch("gallery/gal_19.html", "gal19", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==20){
                myRemote = launch("gallery/gal_20.html", "gal20", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==21){
                myRemote = launch("gallery/vid_02.html", "vid02", "width=580,height=450,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==22){
                myRemote = launch("gallery/vid_03.html", "vid03", "width=580,height=450,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        // comienzan los popus de reportes
        if(page==50){
                myRemote = launch("https://128.160.23.54/products/SWAPS/ame00.gif", "rep01", "width=540,height=525,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==51){
                myRemote = launch("https://128.160.23.54/products/SWAPS/ame12.gif", "rep02", "width=540,height=525,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==52){
                myRemote = launch("https://128.160.23.54/products/SWAPS/ame24.gif", "rep03", "width=540,height=525,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==53){
                myRemote = launch("https://128.160.23.54/products/SWAPS/ame36.gif", "rep04", "width=540,height=525,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==54){
                myRemote = launch("https://128.160.23.54/products/SWAPS/ame48.gif", "rep05", "width=540,height=525,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        //
        if(page==55){
                myRemote = launch("http://buoyweather.com/wxnav.jsp?region=VE&program=Maps", "rep6", "width=695,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==56){
                myRemote = launch("http://www.windguru.cz/int/index.php?id_user=33844&uid=046f6ab4ff37015d74a6363b1c6abb79", "rep7", "width=695,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        // comienzan los popus del Surfcamp
        if(page==61){
                myRemote = launch("surfcamp/camp_01.html", "camp61", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==62){
                myRemote = launch("surfcamp/camp_02.html", "camp62", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==63){
                myRemote = launch("surfcamp/camp_03.html", "camp63", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==64){
                myRemote = launch("surfcamp/camp_04.html", "camp64", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==65){
                myRemote = launch("surfcamp/camp_05.html", "camp65", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==66){
                myRemote = launch("surfcamp/camp_06.html", "camp66", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==67){
                myRemote = launch("surfcamp/camp_07.html", "camp67", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==68){
                myRemote = launch("surfcamp/camp_08.html", "camp68", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==69){
                myRemote = launch("surfcamp/camp_09.html", "camp69", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==70){
                myRemote = launch("surfcamp/camp_10.html", "camp70", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==71){
                myRemote = launch("surfcamp/camp_11.html", "camp71", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==72){
                myRemote = launch("surfcamp/camp_12.html", "camp72", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==73){
                myRemote = launch("surfcamp/camp_13.html", "camp73", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==74){
                myRemote = launch("surfcamp/camp_14.html", "camp74", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==75){
                myRemote = launch("surfcamp/camp_15.html", "camp75", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==76){
                myRemote = launch("surfcamp/camp_16.html", "camp76", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==77){
                myRemote = launch("surfcamp/camp_17.html", "camp77", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==78){
                myRemote = launch("surfcamp/camp_18.html", "camp78", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==79){
                myRemote = launch("surfcamp/camp_19.html", "camp79", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==80){
                myRemote = launch("surfcamp/camp_20.html", "camp80", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==81){
                myRemote = launch("surfcamp/camp_21.html", "camp81", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==82){
                myRemote = launch("surfcamp/camp_22.html", "camp82", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==83){
                myRemote = launch("surfcamp/camp_23.html", "camp83", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==84){
                myRemote = launch("surfcamp/camp_24.html", "camp84", "width=745,height=545,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0,left=0,top=0");
        }
        if(page==85){
                myRemote = launch("surfcamp/camp_25.html", "camp85", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==86){
                myRemote = launch("surfcamp/camp_26.html", "camp86", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==87){
                myRemote = launch("surfcamp/camp_27.html", "camp87", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==88){
                myRemote = launch("surfcamp/camp_28.html", "camp88", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==89){
                myRemote = launch("surfcamp/camp_29.html", "camp89", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==90){
                myRemote = launch("surfcamp/camp_30.html", "camp90", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
        if(page==91){
                myRemote = launch("surfcamp/camp_31.html", "camp91", "width=745,height=545,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,left=0,top=0");
        }
}