// DVD list -- dvdlist.js

var movieList = new Array(
	"Blade Runner - The Director's Cut (1982)","17.49","0790729628",
	"Boy and His Dog (1976)","20.99","6304492405",
	"Dragon Ball Z: Worlds Strongest[A]","20.99","630494103X",
	"Dragon Ball Z-The Movie: Tree of Might[A]","20.99","6304863853",
	"Enter the Dragon (1973)","17.49","6304981635",
	"Forbidden Planet (1956)","17.49","0792835719",
	"The 47 Ronin: Parts 1 & 2","26.23","6305339708",
	"Galaxy Quest","18.89","B00003CXDV",
	"Ghost in the Shell[A]","20.96","6304493681",
	"Heavy Metal: Special Edition","20.96","0767836316",
	"Ran","17.49","6305041156",
	"Rollerball (1975)","17.49","0792838300",
	"Samurai 1 - Miyamoto Musashi","20.96","0780021045",
	"Samurai II: Duel at Ichijoji temple - Criterion Collection (1955)","20.96","6305028699",
	"Samurai 3 - Duel at Ganryu Island - Criterion Collection (1956)","20.96","0780021061",
	"Seven Samurai","19.98","0780020685",
	"Sanshiro Sugata (VHS, not DVD)","16.99","6304391900",
	"Superman - Complete Collection","24.49","6305078955",
	"Tai Chi Master, The (1993)","34.96","6304852800",
	"The Terminator (1984)","20.99","6305079900",
	"Terminator 2 - Judgment Day (1991)","24.99","0784010188",
	"This Island Earth (1955)","20.99","6305077983",
	"Total Recall (1990)","17.49","6304490135"
)

function dwrite(strParm)
{
	document.write(strParm)
}

function showList(movieName, DVDprice, ASIN)
{
	dwrite("<TR VALIGN=\"top\">")
	
	dwrite("<TD>")
	dwrite("<A HREF=\"http://www.amazon.com/exec/obidos/ASIN/" +
			ASIN +
			"/totechcom\">")
	dwrite(movieName + "</A>")
	dwrite("</TD>")
	
	dwrite("<TD>")
	dwrite("$" + DVDprice)
	dwrite("</TD>")
	
	dwrite("</TR>")
}

// name of Array passed via arrayPtr
function loopThruDVD (arrayPtr)
{
	for (var i=0; i<arrayPtr.length; i+=3)
	{
		showList(arrayPtr[i],arrayPtr[i+1],arrayPtr[i+2]);
	}
}

loopThruDVD(movieList)