var newwindow;
function windowPop(url)
{
	newwindow=window.open(url,'name','height=520,width=450 scrollbars=yes');
	if (window.focus) {newwindow.focus()}
}
var new_searchwindow;
function searchMenu_windowPop(url)
{
	new_searchwindow=window.open(url,'name','height=435,width=620 scrollbars=yes');
	if (window.focus) {new_searchwindow.focus()}
}
var comment_window;
function comment_windowPop(url)
{
	comment_window=window.open(url,'name','height=570,width=650 scrollbars=yes');
	if (window.focus) {comment_window.focus()}
}
function mbPop(url)
{
	newwindow=window.open(url,'name','left=0 top=0 height=600 width=800 scrollbars=yes menubar=yes toolbar=yes location resizable=yes');
	if (window.focus) {newwindow.focus()}
}
function DropDownMenu(entered){
	with (entered){
	ref=options[selectedIndex].value; 
	loc=ref; target='_self';
	lowloc=loc.toLowerCase(); 
	if (lowloc=='false') {return;} 		
	if (target=='_self') {document.location=loc;} 
	else {if (target=='_top') {top.location=loc;} 
	else {if (target=='_blank') {window.open(loc);} 		
	else{if (target=='_parent') {parent.location=loc;}
	else {parent.frames[target].location=loc;};
	}}}}
}
function imagePop(imgPath){
	var generator=window.open('','name','height=540,width=580');
	generator.document.write('<html><head><title></title>');
	generator.document.write('</head><body>');
	generator.document.write('<table width=580><tr><td align=center><img src='+imgPath+' width=73%></img></td></tr>');
	generator.document.write('<tr><td align=center><a href=\"javascript:self.close()\">Ãö³¬</a></td></tr></table>');
	generator.document.write('</body></html>');
	generator.document.close();
}
function posterPop(imgPath){
	var generator=window.open('','name','height=540,width=580');
	generator.document.write('<html><head><title></title>');
	generator.document.write('</head><body>');
	generator.document.write('<table width=580><tr><td align=center><img src='+imgPath+' height=460></img></td></tr>');
	generator.document.write('<tr><td align=center><a href=\"javascript:self.close()\">Ãö³¬</a></td></tr></table>');
	generator.document.write('</body></html>');
	generator.document.close();
}
function specialBookPop(imgPath){
	var generator=window.open('','name','height=490,width=490');
	generator.document.write('<html><head><title></title>');
	generator.document.write('</head><body>');
	generator.document.write('<table width=490><tr><td align=center><img src='+imgPath+' height=400></img></td></tr>');
	generator.document.write('<tr><td align=center><a href=\"javascript:self.close()\">Ãö³¬</a></td></tr></table>');
	generator.document.write('</body></html>');
	generator.document.close();
}