function smilie(thesmilie) {
// inserts smilie text
	document.commentform.comment.value += thesmilie+" ";
	document.commentform.comment.focus();
}

function popUp(URL,width,imageheight) {
// creates pop-up window
	if (!width) {
		width=460;	
	}
	
	if (!imageheight) {
		imageheight=550;	
	}
	
	URL = "http://www.dvdtimes.co.uk/imagepopup.cgi?image=" + URL;
	day = new Date();
	id = day.getTime();
	if ( imageheight < 601 ) { 
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=' + width + ',height=' + imageheight);");
	} else {
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=' + width + ',height=' + imageheight);");		
	}
}
