function popMedia(whichfile){
window.open("player.htm?f="+whichfile,"_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400");}

function blockError(){return true;}
window.onerror = blockError;

var message = new Array() 
message[0] = "-----------Welcome!-----";
message[1] = "-----------Visit Bulgaria-";
message[2] = "-----------Contact Us----";
var reps = 0;
var speed = 300;
var p=message.length;
var T="";
var C=0;
var mC=0;
var s=0;
var sT=null;
if(reps<1)reps=1;
function doTheThing(){
T=message[mC];
A();}
function A(){
s++
if(s>10){s=1}
if(s==1){document.title='Altours BG----<'+T+' -----'}
if(s==2){document.title='Altours BG---<-'+T+' -----'}
if(s==3){document.title='Altours BG--<--'+T+' -----'}
if(s==4){document.title='Altours BG-<---'+T+' -----'}
if(s==5){document.title='Altours BG<----'+T+' -----'}
if(s==6){document.title='Altours BG----<'+T+' -----'}
if(s==7){document.title='Altours BG---<-'+T+' -----'}
if(s==8){document.title='Altours BG--<--'+T+' -----'}
if(s==9){document.title='Altours BG-<---'+T+' -----'}
if(s==10){document.title='Altours BG<----'+T+' -----'}
if(C<(10*reps)){
sT=setTimeout("A()",speed);
C++
}else{
C=0;
s=0;
mC++
if(mC>p-1)mC=0;
sT=null;
doTheThing();}}
doTheThing();

<!--
if (window != top) top.location.href = location.href; 
<!--// Bulgarian inbound touroperator, offers discount Eastern Europe tailored group and private guided tours in Bulgaria and across Balkans.//--!> 
// -->


function MM_reloadPage(init) {  
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

PopUpURL    = "http://www.altours-bg.com/Altours_files/copyright.htm";
PopUpLeft   =  10;
PopUpTop    =  590;
PopUpWidth  =  355;
PopUpHeight =  20;
isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;
popO='left='+PopUpLeft+',top='+PopUpTop+',width='+PopUpWidth+',height='+PopUpHeight
top.frames[0].document.forms[0].elements[0].value = "tours.htm";
if (isIE||isNN){
document.oncontextmenu=checkV;
}else{
document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
document.onmousedown=checkV;}

function checkV(e){
if (isN4){
if (e.which==2||e.which==3){

return false;
}}else{

return false;}}