function vid(file) {
	//  default window size
	var wide = 354;	//250;
	var high = 304; //232;
	var windowWidth  = wide;
	var windowHeight = high;
	//  find screensize
	if (window.screen) {
        if (window.screen.availWidth) {
            var screenWidth  = window.screen.availWidth;
            var screenHeight = window.screen.availHeight;
        }
	}
	var left = (screenWidth - windowWidth)/2;
	var top = (screenHeight - windowHeight)/2;
	vidwin = window.open(file,'VIDEO','left='+left+',top='+top+',screenX='+left+',screenY='+top+',width='+windowWidth+',height='+windowHeight+',scrollbars=0,resizable=0,toolbar=0,location=0,directories=0,status=0,menubar=0,copyhistory=0')
	vidwin.focus();
	vidwin.moveTo(left,top);
}


function mp3(file) {
	//  default window size
	var wide = 350;
	var high = 100;
	var windowWidth  = wide;
	var windowHeight = high;
	//  find screensize
	if (window.screen) {
        if (window.screen.availWidth) {
            var screenWidth  = window.screen.availWidth;
            var screenHeight = window.screen.availHeight;
        }
	}
	var left = (screenWidth - windowWidth)/2;
	var top = (screenHeight - windowHeight)/2;
	vidwin = window.open(file,'CESA - MP3','left='+left+',top='+top+',screenX='+left+',screenY='+top+',width='+windowWidth+',height='+windowHeight+',scrollbars=0,resizable=0,toolbar=0,location=0,directories=0,status=0,menubar=0,copyhistory=0')
	vidwin.focus();
	vidwin.moveTo(left,top);
}