// JavaScript Document

function popImage1 (url, title, id) {

var str = '&nbsp;&nbsp;<input type=\"button\" value=\"Select Frame\" name=\"btn_select\" onclick=\" self.opener.document.getElementById(\'rdtSelFrameColor_' + id + '\').checked=true; self.opener.document.getElementById(\'colorcode\').value=' + id + '; window.close(); \">';

newwindow=window.open(url,"FrameinfoColor",'width=650,height=400,resizable=1');
newwindow.document.writeln('<html> <head> <title>' + title + '</title> </head> <body bgcolor=\"white\" onblur=\"window.close();\"> <center>');
newwindow.document.writeln('<img src=' + url + ' title=\"' + title + '\" alt=\"' + title + '\" style="text-align: center;" />');
newwindow.document.writeln('<br /><br /><input type=\"button\" value=\"Close Window\" name=\"btn_close\" onclick=\"javascript: window.close();\">');
newwindow.document.writeln(str);
newwindow.document.writeln('</center> </body> </html>');
newwindow.document.close();
}

function popImage (url, title) {

newwindow=window.open(url,title,'width=650,height=400,resizable=1');
newwindow.document.writeln('<html> <head> <title>' + title + '</title> </head> <body bgcolor=\"white\" onblur=\"window.close();\"> <center>');
newwindow.document.writeln('<img src=' + url + ' title=\"' + title + '\" alt=\"' + title + '\" style="text-align: center;" />');
newwindow.document.writeln('<br /><br /><input type=\"button\" value=\"Close Window\" name=\"btn_close\" onclick=\"javascript: window.close();\">');
newwindow.document.writeln('</center> </body> </html>');
newwindow.document.close();
}

function popImage_case (url, title) {

newwindow=window.open(url,title,'width=700,height=500,resizable=1');
newwindow.document.writeln('<html> <head> <title>' + title + '</title> </head> <body bgcolor=\"white\" onblur=\"window.close();\"> <center>');
newwindow.document.writeln('<img src=' + url + ' title=\"' + title + '\" alt=\"' + title + '\" style="text-align: center; width:600;height:400" />');
newwindow.document.writeln('<br /><br /><input type=\"button\" value=\"Close Window\" name=\"btn_close\" onclick=\"javascript: window.close();\">');
newwindow.document.writeln('</center> </body> </html>');
newwindow.document.close();
}
