<!--
function goi(t){
mform = document.MainForm
mform.action = 'http://www.image-entertainment.com/image/ies/control.jsp'
mform.ProductID.value=t

goImage(mform)
//ns()
//parent.win1.location="http://206.83.1.5/imagesite/product.asp?ProductFormat=DVD&ProductID="+t
return false
}


function goImage(mform){
cookie=document.cookie
if (cookie.indexOf("Image=True")<0){
//opener.ns2()
//opener.parent.win2.location='http://www.image-entertainment.com'
ns2()
parent.win2.location='http://www.image-entertainment.com'
parent.mform=mform
setTimeout('parent.mform.submit()',5500)
document.cookie="Image=True"
}
else{
ns2()
mform.submit()}
}

function ns2(){
parent.win2 = window.open("","nt2","width=580,height=400,resizable=Yes,scrollbars=YES,left=15,top=15")
parent.win2.focus()
}

function link (mt) {
if (mtemp.indexOf('-bin')>-1)
  mpath="../"
else
  mpath=''

if (self.name!="nt") {
if ((parent.win1!=null)&&(! parent.win1.closed)) parent.win1.close()
ns()
mwindow = parent.win1
}
else {
if ((parent.win2!=null)&&(! parent.win2.closed)) parent.win2.close()
ns2()
mwindow = parent.win2
}

//mtemp = document.location.search
//mt = unescape(mtemp.substring(1))
var t = mt.indexOf("'")
while (t > 0) {
	mt = mt.substr(0,t) +"&#39;" + mt.substr(t+1)
	t = mt.indexOf("'")
	}
	
var data=mt.split("~")
data[4]=data[1]
data[5]=data[2]
data[6]=removePlus(data[3])
data[1]=addPlus(data[1])

if (data[6].indexOf(", ") > -1)
data[7]=data[6].substr(data[6].indexOf(", ")+2)+" "+data[6].substr(0,data[6].indexOf(", "))
else
data[7]=data[6]

mwindow.document.writeln('<HTML><HEAD><TITLE>LaserLibrary Links</TITLE>')
mwindow.document.writeln('<LINK rel=StyleSheet href="'+mpath+'data.css" type="text/css">')
mwindow.document.writeln('</HEAD><BODY>')

mwindow.document.writeln('<B><CENTER>'+cd()+'</CENTER></B>')
mwindow.document.writeln('<FORM METHOD="POST" ACTION="'+mpath+'mod-bin/lasersearch.pl" target="_parent">')
mwindow.document.writeln("<INPUT NAME='KeyWord' SIZE='30' VALUE='")
mwindow.document.writeln('"'+data[4]+'"')
mwindow.document.writeln("' TYPE='text'>")
mwindow.document.writeln('<INPUT TYPE="submit" NAME="Search" VALUE="Search LaserLibrary.com">')
mwindow.document.writeln('</FORM>')

//old lasersearch
//mwindow.document.writeln('<FORM METHOD="POST" ACTION="HTTP://www.LaserLibrary.com/Action.Lasso" target="_parent">')
//mwindow.document.writeln('<INPUT TYPE="HIDDEN" NAME="-database" VALUE="LaserVideo.fm">')
//mwindow.document.writeln('<INPUT TYPE="HIDDEN" NAME="-response" VALUE="VIDEO.List.html">')
//mwindow.document.writeln('<INPUT TYPE="HIDDEN" NAME="-noresultserror" VALUE="Video.Search.Error.html">')
//mwindow.document.writeln('<INPUT TYPE="HIDDEN" NAME="-layout" VALUE="Detail">')
//mwindow.document.writeln('<INPUT TYPE="HIDDEN" NAME="-op" VALUE="bw">')
//mwindow.document.writeln('<INPUT TYPE="HIDDEN" NAME="-logicalop" VALUE="or">')
//mwindow.document.writeln('<INPUT TYPE="HIDDEN" NAME="-maxrecords" VALUE="20">')
//mwindow.document.writeln('<INPUT NAME="Entry" SIZE="30" VALUE="')
//mwindow.document.writeln(data[4])
//mwindow.document.writeln('" TYPE="text">')
//mwindow.document.writeln('<INPUT TYPE="HIDDEN" NAME="-search" VALUE="-search">')
//mwindow.document.writeln('<INPUT TYPE="submit" NAME="-search" VALUE="Search LaserLibrary.com">')
//mwindow.document.writeln('</FORM>')

mwindow.document.writeln('<FORM METHOD="POST" ACTION="'+mpath+'mod-bin/lasersearch.pl" target="_parent">')
mwindow.document.writeln("<INPUT NAME='KeyWord' SIZE='30' VALUE='")
mwindow.document.writeln('"'+data[7]+'"')
mwindow.document.writeln("' TYPE='text'>")
mwindow.document.writeln('<INPUT TYPE="submit" NAME="Search" VALUE="Search LaserLibrary.com">')
mwindow.document.writeln('</FORM>')


if ((data[0].indexOf("X") < 0) || (data[0].indexOf("IMA") > 0)){
if (data[4] != ""){

//<FORM NAME="TopNavForm" METHOD="post" ACTION="http://www.image-entertainment.com/image/ies/control.jsp" target=nt2>
//<INPUT TYPE="hidden" NAME="PageName" VALUE="SEARCH RESULTS">
//<INPUT TYPE="text" NAME="Keyword" SIZE="13" VALUE="">
mwindow.document.writeln('<FORM NAME="TopNavForm" METHOD="post" ACTION="http://www.image-entertainment.com/image/ies/control.jsp" target=nt2>')
mwindow.document.writeln('<INPUT TYPE="hidden" NAME="PageName" VALUE="SEARCH RESULTS">')
mwindow.document.writeln('<INPUT TYPE="text" NAME="Keyword" SIZE="30" VALUE="')
mwindow.document.writeln(data[4])
mwindow.document.writeln('"> <INPUT TYPE="button" value="Search Image Entertainment" onclick="opener.goImage(form)">')
mwindow.document.writeln('</FORM>')}
}



if (data[0].indexOf("XX") < 0){
mwindow.document.writeln('<P><TABLE BORDER=1 ALIGN=CENTER CELLSPACING=0 BORDERCOLOR=BLACK>')
//<table border=5 align=center width=80%><tr><TD BGCOLOR=#D7D7D7 align=center>
}

if (data[0].indexOf("X") < 0){
mwindow.document.writeln('<TR><TD colspan=2 align=right><B>IMDb...Search:</B>')
mwindow.document.writeln('<TD><A HREF=HTTP://us.imdb.com/M/title-exact?'+data[1]+'+('+data[2]+')>'+data[4]+' ('+data[2]+')</A>')
mwindow.document.writeln('<TD colspan=3><A HREF=HTTP://us.imdb.com/Name?'+data[3]+'>'+data[7]+'</A>')
mwindow.document.writeln('</TD></tr>')
mwindow.document.writeln('<TR><TD colspan=6>&nbsp;</TD></tr>')
}


if (data[0].indexOf("XX") < 0){
mwindow.document.writeln('<tr><TD rowspan=3 align=right><A HREF="http://www.amazon.com/exec/obidos/redirect-home/laserlibrarycom"><image src='+mpath+'amazon.gif border=0 align=right></a>')
mwindow.document.writeln('<TD align=right><B>'+data[4]+':</B>')
mwindow.document.writeln('<TD align=center><A HREF=http://www.amazon.com/exec/obidos/external-search?tag=laserlibrarycom&keyword='+data[1]+'+'+data[3]+'&index=dvd>Amazon...DVD</A>')
//mwindow.document.writeln('<TD><A HREF=http://www.amazon.com/exec/obidos/external-search?tag=laserlibrarycom&keyword='+data[1]+'+'+data[3]+'&mode=video>'+data[4]+'</A>')
mwindow.document.writeln('<TD align=center><A HREF=http://www.amazon.com/exec/obidos/external-search?tag=laserlibrarycom&keyword='+data[1]+'+'+data[3]+'&index=vhs>VHS</A>')
mwindow.document.writeln('<TD align=center><A HREF=http://www.amazon.com/exec/obidos/external-search?tag=laserlibrarycom&keyword='+data[1]+'>Books</A>')
mwindow.document.writeln('<TD rowspan=3><A HREF="http://www.amazon.com/exec/obidos/redirect-home/laserlibrarycom"><image src='+mpath+'amazonR.gif border=0 align=right></a>')
mwindow.document.writeln('</TD></tr>')

mwindow.document.writeln('<TR><TD align=right><B>'+data[7]+':</B>')
mwindow.document.writeln('<TD align=center><A HREF=http://www.amazon.com/exec/obidos/external-search?tag=laserlibrarycom&keyword='+data[3]+'&index=dvd&rank=titlerank>Amazon...DVD</A>')
mwindow.document.writeln('<TD align=center><A HREF=http://www.amazon.com/exec/obidos/external-search?tag=laserlibrarycom&keyword='+data[3]+'&index=vhs&rank=titlerank>VHS</A>')
mwindow.document.writeln('<TD align=center><A HREF=http://www.amazon.com/exec/obidos/external-search?tag=laserlibrarycom&keyword='+data[3]+'>Books</A>')

mwindow.document.writeln('<TR><TD><A HREF=http://www.amazon.com/exec/obidos/redirect-home?tag=laserlibrarycom&site=electronics>Amazon...Electronics</A>')
mwindow.document.writeln('<TD align=center><A HREF=http://www.amazon.com/exec/obidos/external-search?tag=laserlibrarycom&index=electronics&field-keywords=DVD+Player>DVD Players</A>')
mwindow.document.writeln("<TD align=center colspan=2><A HREF=http://www.amazon.com/exec/obidos/external-search?tag=laserlibrarycom&index=photo&field-keywords=Digital+Camera>Digital Cameras</A>")
mwindow.document.writeln('</TD></tr>')

mwindow.document.writeln('</TABLE><br>')
}


if (data[0].indexOf("X") < 0){
if (data[2] > 1984){
//mwindow.document.writeln('<FORM ACTION="HTTP://www.suntimes.com/ebert/ebert.cgi?6098" METHOD="POST">')
mwindow.document.writeln('<FORM ACTION="HTTP://www.suntimes.com/cgi-bin/ebertser.cgi" METHOD="POST">')
mwindow.document.writeln('<INPUT NAME="title" SIZE="30" MAXLENGTH="40" VALUE="')
mwindow.document.writeln(data[4])
mwindow.document.writeln('">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="names" VALUE="">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="yearlo" VALUE="none">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="yearhi" VALUE="none">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="starlo" VALUE="none">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="starhi" VALUE="none">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="andor" VALUE="and">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="sort" VALUE="title">')
mwindow.document.writeln('<INPUT TYPE="submit" NAME="submit search" VALUE="Roger Ebert Title Search">')
mwindow.document.writeln('</FORM>')}

//mwindow.document.writeln('<FORM ACTION="HTTP://www.suntimes.com/ebert/ebert.cgi?6098" METHOD="POST">')
mwindow.document.writeln('<FORM ACTION="HTTP://www.suntimes.com/cgi-bin/ebertser.cgi" METHOD="POST">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="title" VALUE="">')
mwindow.document.writeln("<INPUT NAME='names' SIZE='30' MAXLENGTH='40' VALUE='")
mwindow.document.writeln('"'+data[7]+'"')
mwindow.document.writeln("' TYPE='text'>")
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="yearlo" VALUE="none">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="yearhi" VALUE="none">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="starlo" VALUE="none">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="starhi" VALUE="none">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="andor" VALUE="and">')
mwindow.document.writeln('<INPUT TYPE=HIDDEN NAME="sort" VALUE="title">')
mwindow.document.writeln('<INPUT TYPE="submit" NAME="submit search" VALUE="Roger Ebert Name Search">')
mwindow.document.writeln('</FORM>')
}


if (data[0].indexOf("...X") > 0){
mwindow.document.writeln('<p><B><CENTER>Adult Links</CENTER></B>')
}
if (data[0].indexOf("...VIV") > 0){
//mwindow.document.writeln('<FORM ACTION="HTTP://www.Vividvideo.com/titles/Search.cgi?" METHOD="POST">')
mwindow.document.writeln('<form method="POST" action="HTTP://www.Vividvideo.com/titles/Search.cgi" enctype="x-www-form-encoded">')
mwindow.document.writeln('<input type="hidden" name="setup_file" value="">')
mwindow.document.writeln('<input type="hidden" name="session_file" value="">')
mwindow.document.writeln('<input type="hidden" name="sort_by" value="0">')
mwindow.document.writeln('<INPUT NAME="desc" SIZE="30" MAXLENGTH="40" VALUE="')
mwindow.document.writeln(data[4])
mwindow.document.writeln('">')
mwindow.document.writeln('<INPUT TYPE="submit" NAME="submit search" VALUE="Vivid Title Search">')
mwindow.document.writeln('</FORM>')

//mwindow.document.writeln('<FORM ACTION="HTTP://www.Vividvideo.com/titles/Search.cgi?" METHOD="POST">')
mwindow.document.writeln('<form method="POST" action="HTTP://www.Vividvideo.com/titles/Search.cgi" enctype="x-www-form-encoded">')
mwindow.document.writeln('<input type="hidden" name="setup_file" value="">')
mwindow.document.writeln('<input type="hidden" name="session_file" value="">')
mwindow.document.writeln('<input type="hidden" name="sort_by" value="0">')
mwindow.document.writeln('<INPUT NAME="desc" SIZE="30" MAXLENGTH="40" VALUE="')
mwindow.document.writeln(data[7])
mwindow.document.writeln('">')
mwindow.document.writeln('<INPUT TYPE="submit" NAME="submit search" VALUE="Vivid Name Search">')
mwindow.document.writeln('</FORM>')
}

mwindow.document.writeln('<p><CENTER><B>Note: You can right click your mouse to return to this page. To purchase this title from us use the checkbox on the left of the title.</B>')
mwindow.document.writeln('<HR>&copy; <A HREF="http://www.LaserLibrary.com" target="_parent">Laser Library</A> 95-02, 1190 East Colorado Bl. Pasadena CA 91106 (626) 577-7035<BR>')
mwindow.document.writeln('<FONT SIZE=-1>Price subject to change without notice. Not responsible for typographical errors.</FONT>')
mwindow.document.writeln('</HTML>')
mwindow.document.close()
}

function removePlus(s){
var temp=""
if (s==null) return " "
for(var i=0;i<s.length;++i){
var c=s.charAt(i)
if(c=="+") temp +=" "
else temp +=c
}
return temp
}

function addPlus(s){
var temp=""
if (s==null) return " "
for(var i=0;i<s.length;++i){
var c=s.charAt(i)
if(c==" ") temp +="+"
else temp +=c
}
return temp
}


// -->

