

function trim(s) {
    return s.replace(/^\s+/, '').replace(/\s+$/, '');
}


function ltrim(s) {
    return s.replace(/^\s+/, '');
}

function rtrim(s) {
    return s.replace(/\s+$/, '');
}




function WinPopUp(URL) {
 
var look='toolbar=no,scrollbars=no,location=no,status=no,menubar=no,resizable=yes,left=250,top=10,width=700,height=900';

popup=window.open("","",look)

popup.document.open()
popup.document.write('<html><head><title>Zoom - PosterGallery1821.com</title>')
popup.document.write('<LINK REL=STYLESHEET HREF=../main.css TYPE=text/css>')
popup.document.write('<script language="JavaScript">')
popup.document.write('function noclick() {')
popup.document.write(' if (event.button==2) {')
popup.document.write(' }')
popup.document.write('}')
popup.document.write('document.onmousedown=noclick()')
popup.document.write('</script>')

popup.document.write('</head>')
popup.document.write('<body text=white  background="../backzoom.jpg" alink=white link=white vlink=white  bgcolor=black rightmargin=0 leftmargin=0 topmargin=0 bottommargin=0 marginheight=0 marginwidth=0>')

popup.document.write('<TABLE cellpadding="0" cellspacing="5" border="0" bordercolor=FFFFFF style="border-collapse: collapse"><tr><td>')
popup.document.write("<TR><TD valign=top height=20>ZOOM &nbsp;<a href=\"javascript:return false;\" onMouseOver=\"ppict.style.zoom='2.0'\" onMouseOut=\"ppict.style.zoom='1'\">2x</a>");
popup.document.write("&nbsp;<a href=\"javascript:return false;\" onMouseOver=\"ppict.style.zoom='2.5'\" onMouseOut=\"ppict.style.zoom='1'\">2.5x</a>");
popup.document.write("&nbsp;<a href=\"javascript:return flase;\" onMouseOver=\"ppict.style.zoom='3.0'\" onMouseOut=\"ppict.style.zoom='1'\">3x</a></TD><TR></TABLE>");

popup.document.write('<BR><BR><CENTER><TABLE><TR><TD height=500><img src="'+URL+'" name=ppict border=3><br>')
popup.document.write('</td></tr></table><CENTER>')

popup.document.write('</body>')
popup.document.close()

}

function WinPopUp0(URL) {
 
var look='toolbar=no,scrollbars=yes,titlebar=no,location=no,status=no,menubar=no,resizable=yes,left=100,top=0px,width=650,height=700';
var popup=window.open(URL,"",look)


}
function WinPopUp1(URL) {
 
var look='toolbar=no,scrollbars=no,titlebar=no,location=no,status=no,menubar=no,resizable=yes,left=100,top=10px,width=920,height=930';
var popup=window.open(URL,"",look)


}
function WinPopUp2(URL) {
 
var look='toolbar=no,scrollbars=no,titlebar=no,location=no,status=no,menubar=no,resizable=yes,left=250,top=10,width=581,height=720';
var popup=window.open(URL,"",look)
}

function WinPopUp3d(URL) {
 
var look='toolbar=no,scrollbars=no,titlebar=no,location=no,status=no,menubar=no,resizable=yes,left=250,top=10,width=600,height=800';
var popup=window.open(URL,"",look)


}

function WinPopUp3(URL) {
 
var look='toolbar=no,scrollbars=no,titlebar=no,location=no,status=no,menubar=no,resizable=yes,left=250,top=10,width=600,height=750';
var popup=window.open(URL,"",look)


}

function WinPopUp4(URL) {
 
var look='toolbar=no,scrollbars=yes,titlebar=no,location=no,status=no,menubar=no,resizable=yes,left=250,top=100,width=621,height=647';
var popup=window.open(URL,"",look)


}


function WinPopUp44(URL) {
 
var look='toolbar=no,scrollbars=yes,titlebar=no,location=no,status=no,menubar=no,resizable=yes,left=250,top=100,width=621,height=450';
var popup=window.open(URL,"",look)


}



function WinPopUpRadio(URL) {
 
var look='toolbar=no,scrollbars=no,location=no,status=no,menubar=no,resizable=no,left=50,top=800,width=600,height=310px';
var popup=window.open(URL,"shoutcast",look)


}

function WinModel(URL) {
 
var look='toolbar=no,scrollbars=auto,location=no,status=no,menubar=no,resizable=no,left=500,top=200,width=230,height=300px';
var popup=window.open(URL,"model",look)


}


function WinSample(URL) {
 
var look='toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,resizable=no,left=50,top=60,width=500,height=750px';
var popup=window.open(URL,"tgube",look)


}

function WinSample2(URL) {
 
var look='toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,resizable=no,left=50,top=60,width=610,height=750px';
var popup=window.open(URL,"tgube",look)


}



function Winmail(URL) {
 
var look='toolbar=no,scrollbars=no,location=no,status=no,menubar=no,resizable=no,left=50,top=200,width=800,height=310px';
var popup=window.open(URL,"tgube",look)


}

function Winmailpro(URL) {
 
var look='toolbar=no,scrollbars=no,location=no,status=no,menubar=no,resizable=no,left=50,top=200,width=800,height=400px';
var popup=window.open(URL,"tgudbe",look)


}

function WinPopUpVideo(URL) {
 
var look='toolbar=no,scrollbars=no,location=no,status=no,menubar=no,resizable=no,left=50,top=60,width=676,height=838px';
var popup=window.open(URL,"tube",look)


}

function stop ()
{
	Player.controls.stop();
}
function play (url)
{
	Player.URL = url+'xxx.mp3';
	Player.controls.play();
}
function playradio (url)
{
	Player.URL = url;
	Player.controls.play();
}
  
