function open_windowTay640(url) {  
newwin = window.open(url,"image",'width=640,height=480,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes');
setTimeout("newwin.focus();",250); }

function open_windowTay640H(url) {  
newwin = window.open(url,"image",'width=640,height=480,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes');
setTimeout("newwin.focus();",250); }

function open_windowTay320(url) {  
newwin = window.open(url,"image",'width=320,height=480,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes');
setTimeout("newwin.focus();",250); }

function open_windowPop(url) {mywin = window.open(url,"popup",'width=500,height=600, toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no');}

function open_windowTaySlide360(url) { mywin = window.open(url,"show",'width=120,height=90,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no'); window.blur();}

function tayPhoto640(pFileName) {
pWindow = window.open( "", "photo", "width=700,height=520,status=0,scrollbars=yes,resizable=yes,screenX=10,screenY=10,left=20,top=40");
pWindow.document.write('<html><head><title>' + pFileName + '</title></head>');
pWindow.document.write('<BODY BGCOLOR=#999999 TEXT=#000000 LINK=#000000 VLINK=#000000>');
pWindow.document.write('<center>');
pWindow.document.write('<table border=2 cellpadding=0 cellspacing=0><tr><td>');
pWindow.document.write('<a onClick="javascript:window.close();">');
pWindow.document.write('<img src="' + pFileName + '"></a><p>');
pWindow.document.write('</td></tr></table>');
 pWindow.document.write('<font face="verdana,arial,helvetica" size="-2">');
pWindow.document.write('Click image to close...');
pWindow.document.write('</font></center></body></html>');
pWindow.document.close();
pWindow.focus();
}

