// JavaScript Document
var newwindow;
var newwindowtxt;
var newwindowvid;
var tw;

function popUp(url, title, wdh, hgt) {
if (newwindow && !newwindow.closed)
{ newwindow.focus(); newwindow.document.clear() }
else
{ newwindow=window.open('','', 'width='+ wdh + ', height=' + hgt +', resizable=0') }
newwindow.document.writeln('<head><meta http-equiv="imagetoolbar" content="no"><title>' + title + '<\/title> <\/head> <body bgcolor="#000000">');
newwindow.document.writeln('<img src=' + url + ' title=\"' + title + '\" alt=\"' + title + '\" >');
newwindow.document.writeln('<\/body> <\/html>');
newwindow.document.close();
}

function popUpTxt(text, title, wdh, hgt) {
if (newwindowtxt && !newwindowtxt.closed)
{ newwindowtxt.focus(); newwindowtxt.document.clear() }
else
{ newwindowtxt=window.open('','', 'width='+ wdh + ', height=' + hgt +', resizable=0') }
tw = wdh -15;
newwindowtxt.document.writeln('<head><title>' + title + '<\/title><\/head><body bgcolor="#000000">');
newwindowtxt.document.writeln('<table border="0" cellpadding="0" cellspacing="0" width=\"'+ tw +'\" align="left">');
newwindowtxt.document.writeln('<tr><td><font color="#FFFFFF" face="Euphemia UCAS" size="-1">'+ text +'<\/font><\/td><\/tr><\/table>');
newwindowtxt.document.writeln('<\/body> <\/html>');
newwindowtxt.document.close();
}

function popUpVid(title, vtag) {
document.writeln('<head><title>'+ title +'<\/title><\/head><body bgcolor="#CCCCCC">');
document.writeln('<object width="425" height="355">');
document.writeln('<param name="movie" value="http://www.youtube.com/v/'+ vtag +'&hl=en"><\/param>');
document.writeln('<param name="wmode" value="transparent"><\/param>');
document.writeln('<embed src="http://www.youtube.com/v/'+ vtag +'&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"><\/embed><\/object>');
document.writeln('<\/body><\/html>');
document.close();
}



