function popitup(mypage, w, h, scroll)
{
	winprops = 'height=' + h + ',width=' + w + 'scrollable=0'
	newwindow=window.open('', 'name', winprops)
	newwindow.name = mypage
  /*	newwindow.document.open("text/html", "replace")  */
  	newwindow.document.write('<html><head><title>image</title></head><body><img style=\'position:absolute;left:0;top:0;\'src=\''+mypage+'\'><!-- clicky -->
	<script type="text/javascript">
	var clicky_site_ids = clicky_site_ids || [];
	clicky_site_ids.push(66451387);
	(function() {
	  var s = document.createElement('script');
	  s.type = 'text/javascript';
	  s.async = true;
	  s.src = '//static.getclicky.com/js';
	  ( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s );
	})();
	</script>
<!-- /clicky -->
</body>')
	newwindow.document.close()
	if (window.focus) {newwindow.focus()}
	return false;
}


function popitup_sound(image, sound, w, h, scroll)
{
 
    w=w-0; h=h-0;
    w=w+20; h=h+20;
	winprops = 'height=' + h + ',width=' + w + ',scrollable=0'
	newwindow=window.open('', '', winprops)
	newwindow.name = image
  	newwindow.document.open()  
  	newwindow.document.writeln('<html><head><title>image</title></head><body style=\'background-color: black\'><div style=\'text-align:center\'<img src=\''+image+'\'></div><object data=\"'+sound+'\"></object><!-- clicky -->
	<script type="text/javascript">
	var clicky_site_ids = clicky_site_ids || [];
	clicky_site_ids.push(66451387);
	(function() {
	  var s = document.createElement('script');
	  s.type = 'text/javascript';
	  s.async = true;
	  s.src = '//static.getclicky.com/js';
	  ( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s );
	})();
	</script>
<!-- /clicky -->
</body>')
	newwindow.document.close()
	if (window.focus) {newwindow.focus()}
	return false;
}





function popitup_sound1(mypage, sound, w, h, scroll)
{
	winprops = 'height=' + h + ',width=' + w + 'scrollable=0'
	newwindow=window.open('', 'name', winprops)
	newwindow.name = mypage
  /*	newwindow.document.open("text/html", "replace")  */
  	newwindow.document.write('<html><head><title>image</title></head><body style=\'background-color: black\'><div style=\'text-align:center\'<img src=\''+image+'\'></div><object data=\"'+sound+'\"></object><!-- clicky -->
	<script type="text/javascript">
	var clicky_site_ids = clicky_site_ids || [];
	clicky_site_ids.push(66451387);
	(function() {
	  var s = document.createElement('script');
	  s.type = 'text/javascript';
	  s.async = true;
	  s.src = '//static.getclicky.com/js';
	  ( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s );
	})();
	</script>
<!-- /clicky -->
</body>')
	newwindow.document.close()
	if (window.focus) {newwindow.focus()}
	return false;
}


function popitup1(mypage, w, h, scroll)
{
/*	var windowname = mypage; 
	var len = windowname.length;
	x = 0;
 	for (i = len; i > 0; i--) 
 		{ 
 		y = windowname.substring(i,i+1);
 		if (y == "/" && x == 0) 
 			{ 
			windowname = windowname.substring(i+1,len); 
 			x = 1;
 			} 
 		}*/ 

	var winprops = 'height=' + h + ',width=' + w;
	newwindow=window.open(mypage, 'name', winprops);
	newwindow.name = mypage;
	if (window.focus) {newwindow.focus()}
	return false;
}


