imagename = '';

imagewidth = '';

imageheight = '';

imagerefer = '';

function enlrge(imgtle, imgnme, imgref, iwidth, iheight) {

	lrgewin = window.open("about:blank","",'width= '+ (iwidth + 20) + ' ,height= ' + (iheight + 50) + '')

    imagename = imgnme;

    imagetitle = imgtle;

	imagerefer = imgref;

    setTimeout('update()',500)

}

function update() {

    doc = lrgewin.document;

    doc.open('text/html');

	doc.write('<html>');

	doc.write('<head>');
	doc.write('<link href="../menuscript/styles1.css" rel="stylesheet" type="text/css">');

    doc.write('</head>');

    doc.write('<BODY bgcolor="white" leftmargin=0 topmargin=0>');

	doc.write('<title>'+ imagerefer +'</title><CENTER>');

    doc.write('<IMG SRC="' + imagename + '" align="center">');


    doc.write('<br><br><a href="javascript:window.close()" class="redlink"><b>close window</b></font></a></CENTER>');

	doc.write('</body>');

    doc.write('</html>');

    doc.close();

}
