
function popVideo(page,w,h,s){
	xpos = (screen.width) ? (screen.width-w)/2 : 0;
	ypos = (screen.height) ? (screen.height-h)/2 : 0;
	if (s=='yes'){
		window.open(page,"newWin","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,width="+w+",height="+h+",left="+xpos+",top="+ypos);
	}else{
		window.open(page,"newWin","toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+w+",height="+h+",left="+xpos+",top="+ypos);
	}
}

// ====================================================================================================================================================
function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

// ====================================================================================================================================================
var tl=new Array(100);

tl[0]="";

tl[1]="";

tl[2]="";

tl[3]="";
        
var max=4;

var index=0; text_pos=0;

var str_length=tl[0].length;



function type_text() 

{        

        window.status=tl[index].substring(0,text_pos)+"_";


        if(text_pos++==str_length){

                text_pos=0;

                setTimeout("type_text()",1500);

                index++;

                if(index==max)

                        index=0;

                str_length=tl[index].length;

        } else

                setTimeout("type_text()",100);



}
