/*if (window.Event)
  document.captureEvents(Event.MOUSEUP);
function nocontextmenu() {	
  event.cancelBubble = true, event.returnValue = false;
  return false;
} 
function norightclick(e) {
  if (window.Event) {
    if (e.which == 2 || e.which == 3) return false;
  }
  else if (event.button == 2 || event.button == 3) {
    event.cancelBubble = true, event.returnValue = false;
    return false;
  }
}
if (document.layers)
  document.captureEvents(Event.MOUSEDOWN);
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
document.onmouseup = norightclick;*/

/*Balayı ve münferit turlar için kullanıyoruz*/
/*function opentourdetail(id) {
    window.open('onetour_details.aspx?id=' + id, '', 'scrollbars=yes,fullscreen=yes,status=no,resizable=1,left=100,top=100,alwasRized');
}*/
function opentourdetail(id) {
    window.open('onetour_details.aspx?id=' + id, '', 'scrollbars=yes,fullscreen=yes,status=no,resizable=1,left=100,top=100,alwasRized');
}
function opentalepet(id) {
    window.open('talepet.aspx?id=' + id, '', 'scrollbars=yes,width=550,height=550,status=no,resizable=1,left=100,top=100,alwasRized');
}
function opentavsiyeet(id) {
    window.open('tavsiyeet.aspx?id=' + id, '', 'scrollbars=yes,width=550,height=450,status=no,resizable=1,left=100,top=100,alwasRized');
}
function openiletisim() {
    window.open('contact.aspx', '', 'scrollbars=yes,width=950,height=650,status=no,resizable=1,left=100,top=100,alwasRized');
}
function openMap(id) {
    window.open('map.aspx?id=' + id, '', 'scrollbars=yes,width=500,height=500,status=no,resizable=1,left=100,top=100,alwasRized');
}
function openVideo(id) {
    window.open('video.aspx?id=' + id, '', 'scrollbars=yes,width=600,height=600,status=no,resizable=1,left=100,top=100,alwasRized');
}
function openGaleri(id) {
    window.open('gallery.aspx?id=' + id, '', 'scrollbars=yes,width=450,height=200,status=no,resizable=1,left=100,top=100,alwasRized');
}
function openImage(id) {
    window.open('showimage.aspx?id=' + id, '', 'scrollbars=yes,width=550,height=500,status=no,resizable=1,left=100,top=100,alwasRized');
}
function openFiyat(id) {
    window.open('fiyatlar.htm', '', 'scrollbars=no,width=400,height=300,status=no,resizable=0,left=100,top=100,alwasRized');
}


function openPage2(id) {
    window.open('price.aspx?id=' + id, '', 'scrollbars=yes,width=600,height=500,status=no,resizable=1,left=100,top=100,alwasRized');
}
function openPage3(id) {
    window.open('tour.aspx?id=' + id, '', 'scrollbars=yes,width=650,height=550,status=no,resizable=1,left=100,top=100,alwasRized');
}
function openPage4(id) /*tu detayı*/
{
    window.open('onetour_details.aspx?id=' + id, '', 'scrollbars=yes,width=650,height=550,status=no,resizable=1,left=100,top=100,alwasRized');
}
function openPage5(id) /*tur fiyatı*/
{
    window.open('onetour_details2.aspx?id=' + id, '', 'scrollbars=yes,width=650,height=550,status=no,resizable=1,left=100,top=100,alwasRized');
}
function openPage(page) {
    switch (page) {
        case 2:
            window.open('http://www.goldenbaytour.com/vize_evrak.htm', '', 'scrollbars=yes,width=600,height=500,status=no,resizable=1,left=100,top=100,alwasRized');
            break;
        case 3:
            window.open('http://www.goldenbaytour.com/dunya.asp', '', 'scrollbars=yes,width=600,height=500,status=no,resizable=1,left=100,top=100,alwasRized');
            break;
        case 4:
            window.open('http://www.goldenbaytour.com/atlas.htm', '', 'scrollbars=yes,width=500,height=400,status=no,resizable=1,left=100,top=100,alwasRized');
            break;
        case 5:
            window.open('http://www.xe.com/ucc/', '', 'scrollbars=yes,width=600,height=500,status=no,resizable=1,left=100,top=100,alwasRized');
            break;
        case 6:
            window.open('http://www.goldenbaytour.com/vize.html', '', 'scrollbars=yes,width=600,height=500,status=no,resizable=1,left=100,top=100,alwasRized');
            break;
        case 7:
            window.open('images/pdf/index.html', '', 'scrollbars=yes,width=1050,height=768,status=no,resizable=0,left=100,top=100,alwasRized');
            break;
        case 8:
            window.open('http://www.wunderground.com/', '', 'scrollbars=yes,width=600,height=500,status=no,resizable=1,left=100,top=100,alwasRized');
            break;
        case 9:
            window.open('vize.aspx', '', 'scrollbars=yes,width=750,height=500,status=no,resizable=1,left=100,top=100,alwasRized');
            break;
        case 10:
            window.open('vize.aspx?id=8', '', 'scrollbars=yes,width=750,height=500,status=no,resizable=1,left=100,top=100,alwasRized');
            break;
    }
}