var pigpack_2= null;

function openpage (page)
{
	if (document.all)
		document.all["iframe1"].src = page;
	else if (document.layers)
		document.layers['iframe1'].src = page;
	else if (document.getElementById)
		document.getElementById('iframe1').src = page;
}

function ow(p1)
   {
		   window.open(p1, "pigpack_1a" , "Toolbar=no,resizable=no,width=600,height=370,status=yes");
		   return false;
   }

function wclose()
	{
		self.close();
	}

function ow2(p1, p2)
{
		if (! pigpack_2) self.close;
		pigpack_2 = window.open( "", "pigpack_2", "width=600,height=450,toolbar=no,status=yes,scrollbars=no,resizable=no, screenX=20,screenY=40,left=20,top=40");
		pigpack_2.document.open("text/html", "replace");
		pigpack_2.document.write('<html><head><title>' + p2 + '</title><style>body{scrollbar-base-color=#404040}</style></head>');	
		pigpack_2.document.write('<BODY align="center" valign="center" BGCOLOR=#000000 TEXT=#FFFFCC LINK=#33CCFF VLINK=#FF6666>');
		pigpack_2.document.write('<table cellpading="0" cellspacing="0" border="0" height="400" width="550" bgcolor="C0C0C0"><tr><td>');
		pigpack_2.document.write('<iframe class="cbo4" name="ifr100"  width="550" height="375" src="' + p1 +'"></iframe>');
		pigpack_2.document.write('</td></tr><tr><td valign="center">');
		pigpack_2.document.write('<form><center><input type="button" onClick="javascript:self.close();" value="Fermer"></center></form>');
		pigpack_2.document.write('</td></tr></table>');
  		pigpack_2.document.write('</body></html>');
}
