function images(x,y)
 {
 
 var rand = Math.floor(Math.random() * 1000000000);

 w=window.open();
 w.document.write('<html><head>');
 w.document.write('<title>' + y + '</title>');
 w.document.write('<link href="../css/frames.css" rel="stylesheet" type="text/css"></head>');
 w.document.write('<body><center>');
 w.document.write('<table border="0" cellspacing="0" cellpadding="0"><tr><td class=top>');
 w.document.write('<table width="760" border="0" cellspacing="0" cellpadding="0"><tr>');
 w.document.write('<td width="190"><img src="../images/top-frames/1.jpg" width="190" height="75"></td>');
 w.document.write('<td width="190"><img src="../images/top-frames/2.jpg" width="190" height="75"></td>');
 w.document.write('<td width="194"><img src="../images/top-frames/3.jpg" width="194" height="75"></td>');
 w.document.write('<td width="186"><img src="../images/top-frames/4.jpg" width="186" height="75"></td>');
 w.document.write('</tr></table></td></tr></table><p>');

 w.document.write('<img src='+ x +'.jpg>');
 w.document.write('</body></html>');

 }
