//<!-- Hide script from old browser
IE4plus = (document.all) ? true : false;
NS4 = (document.layers) ? true : false;
function clickIE()
{
    return false;
}
function clickNS(e)
{
	if (e.which==2 || e.which==3) 
     {
       return false;
     }
}
if (!IE4plus) 
{
   document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
   document.onmousedown=clickNS;
   document.onmouseup= clickNS;
   document.oncontextmenu=clickIE; // For NS 6+
} 
else 
{
   document.onmouseup= clickIE;
   document.oncontextmenu=clickIE;
}
function Bookmark(url,title) {
       // Mozilla Firefox 
       if (window.sidebar) {
           window.sidebar.addPanel(title, url,"");
       // IE 
       } else if( window.external ) {
           window.external.AddFavorite(url, title); 
       // Opera 
       } else if(window.opera && window.print) {
           var elem = document.createElement('a');
           elem.setAttribute('href',url);
           elem.setAttribute('title',title);
           elem.setAttribute('rel','sidebar');
           elem.click();
       }
   }
var win = null;
   
function open_win(url_add)
   {
if (win == null || win.closed)
win = window.open(url_add,'livecam','width=480,height=555,left=140,top=0');
else
    win.close();
	win = window.open(url_add,'livecam','width=480,height=555,left=140,top=0');
   }
 
if (document.images)
    {
      preload_image_object = new Image();
      image_url = new Array();
      image_url[0] = "images/Free1.gif";
      image_url[1] = "images/Free.gif";
	  
     var i = 0;
     for(i=0; i<=1; i++) 
     preload_image_object.src = image_url[i];

     button1 = new Image
     button2 = new Image
	 button1.src = 'images/Free1.gif'
     button2.src = 'images/Free.gif'
	 }
//End hiding script from old browser-->