/*

*/
function closeWindow(){
	if (newWindow && !newWindow.closed){
		newWindow.close()
	}
}	

function show(photo,item){
newWindow = window.open('', 'newWin','toolbar=no,location=no,scrollbars=yes,resizable=yes,width=250,height=350')
newWindow.document.write('<HTML><HEAD><TITLE>View of Image<\/title><\/head><BODY bgcolor="#FFFFFF"><div align="center">Image for<br><b><font size="+1">'+item+'<\/font>')
newWindow.document.write('<table>')
newWindow.document.write('<tr>')
newWindow.document.write('<td align="center"><a href="javascript:close()"><img src="shop/'+photo+'" width=100 border=0 alt="Click to Close"></a>')
newWindow.document.write('</td>')
newWindow.document.write('</tr>')
newWindow.document.write('</table>')	


newWindow.document.write('<br><a href="javascript:close()">Close Window</a><P>')
newWindow.document.write("<\/div><\/body><\/html>")
newWindow.document.close()
	}

function showmore(link_page){
	
	newWindow = window.open('','newWin','toolbar=no,location=no,scrollbars=yes,resizable=yes,width=800,height=650')
	newWindow.document.writeln('<HTML><HEAD><TITLE>More Info<\/title>')
	newWindow.document.writeln('<link rel="stylesheet" type="text/css" href="scrollbar.css">')
	newWindow.document.writeln('<script language="Javascript" src="rollover.js"><\/script>')
	newWindow.document.writeln('<script language="Javascript" src="database.js"><\/script>')
	if(link_page.indexOf (".txt")>0){
		newWindow.document.writeln('<script language="Javascript" src="shop/'+link_page+'"><\/script>')}
	else{
		newWindow.document.writeln('<script language="Javascript" src="shop/'+link_page+'.txt"><\/script>')
	}
	/* was bgcolor="#550e51"   */
	newWindow.document.writeln('<\/head><body style="background-position: 0pt 266px;" topmargin="0" leftmargin="0" alink="#ffff00" background="images/bg_2004.gif" bgcolor="#000000">')
	newWindow.document.writeln('<script language="JavaScript" src="scroll.js"></script>')
	newWindow.document.writeln('<div align="center">')
	newWindow.document.writeln('<table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">')
	newWindow.document.writeln('<tr><td align="center"><a href="index.htm"><img src="images/logo.gif" alt="Logo" width="756" height="85" border="0"></a><br>')
	newWindow.document.writeln('<\/td></tr>')
	newWindow.document.writeln('<tr><td>')
	newWindow.document.writeln('<div align="center">')
	newWindow.document.writeln('<font color="#FFFF00">')
	newWindow.document.writeln('<a href="javascript:close()"><font color="#ffff00"><b>Close This Window<\/b><\/a><\/font><\/a><\/font><\/div>')		
	newWindow.document.writeln('<div align="center">')
	newWindow.document.writeln('<table border="0" width="85%" cellpadding="7">')
	
	

	newWindow.document.writeln('<script language="JavaScript" src="displaymoreitem.js"><\/script>')
	

	newWindow.document.writeln('<\/table>')
	newWindow.document.writeln('<\/div>')
	newWindow.document.writeln('<\/td><\/tr>')
	newWindow.document.writeln('<tr valign="bottom">')
	newWindow.document.writeln('<td align="center">')
	newWindow.document.writeln('<a href="javascript:close()"><font color="#ffff00"><b>Close This Window<\/b><\/a><\/font><br>&nbsp;<br>')	
	newWindow.document.writeln('<b>')
	newWindow.document.writeln('<font color="#ced301" face="Verdana" size="1">Telephone: 01202 391666')
	newWindow.document.writeln('&nbsp;&nbsp;&nbsp;&#8226;&nbsp;&nbsp;&nbsp;')
	newWindow.document.writeln('Email: <a href="mailto:info@mikedanatasmagicstudio.co.uk"><u><font color="#FFFF00">info@mikedanatasmagicstudio.co.uk<\/font><\/u><\/a>')
	newWindow.document.writeln('<\/font><\/b>')
	newWindow.document.writeln('&nbsp;<br>')
	newWindow.document.writeln('<\/td>')
	newWindow.document.writeln('<\/tr>')
	newWindow.document.writeln('<\/table>')
	newWindow.document.writeln('<\/div>')
	newWindow.document.writeln('<\/html><\/body>')
	newWindow.document.close()
}


