var Message="The Best Metal Housewares Manufacturer";
var place=1;
var windowHandle=-1;

//Google Analytics
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17222630-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
//End of Google Analytics
  
function alert()
{	
}

function scrollIn() { 
  window.status=Message.substring(0, place);
  if (place >= Message.length) 
  {
    place=1;
    window.setTimeout("scrollOut()",300); 
  } else 
  {
    place++;
    window.setTimeout("scrollIn()",50); 
  } 
}
function scrollOut() {
  window.status=Message.substring(place, Message.length);
  if (place >= Message.length) 
  {
    place=1;
    window.setTimeout("scrollIn()", 100);
  } else 
  {
    place++;
    window.setTimeout("scrollOut()", 50);
  }
}

function myOpen() {
  //var wwidth=screen.width/2, wheight=screen.height/2;
  var wwidth=520, wheight=400;
  
  if (windowHandle != -1)
  { windowHandle.close();
  }
  windowHandle = window.open('bigimage.php','aaa','width='+wwidth+',height='+wheight+',scrollbars=yes,resizable=yes,top=0,left=0');  

  astr ='<HTML><TITLE>'+ myOpen.arguments[1] + '</TITLE><BODY><center>';
  astr += '<img src="'+myOpen.arguments[0]+'">';
  astr += '<p><a href="javascript:window.close()">Close Window</a></p>';
  astr +='</center></BODY></HTML>';
  windowHandle.document.write(astr);
}
