 function popup(mylink, name, width, height)
 {
 	ww = (parseInt(width));
 	wh = (parseInt(height));

     settings="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+ww+",height="+(wh);


 	var windowname = (name.indexOf(' ')!=-1)?name.substring(0, name.indexOf(' ')):name;

 	if (! window.focus)return true;
 	var href;
 	if (typeof(mylink) == 'string')
    		href=mylink;
 	else
    		href=mylink.href;
 	MyNewWindow=window.open(href, windowname, settings);
 	return false;
 }

 function targetopener(mylink, closeme, closeonly)
 {
 if (! (window.focus && window.opener))return true;
 window.opener.focus();
 if (! closeonly)window.opener.location.href=mylink.href;
 if (closeme)window.close();
 return false;
 }

function movepic(img_name,img_src) {
document[img_name].src=img_src;
}

if (document.images)
{
  preload_image_object = new Image();
  // set image url
  image_url = new Array();
  image_url[0] = "http://www.w32nd.com/images/about_r.jpg";
  image_url[1] = "http://www.w32nd.com/images/bios_r.jpg";
  image_url[2] = "http://www.w32nd.com/images/contact_r.jpg";
  image_url[3] = "http://www.w32nd.com/images/downloads_r.jpg";
  image_url[4] = "http://www.w32nd.com/images/elist_r.jpg";
  image_url[5] = "http://www.w32nd.com/images/links_r.jpg";
  image_url[6] = "http://www.w32nd.com/images/press_r.jpg";
  image_url[7] = "http://www.w32nd.com/images/screenings_r.jpg";

   var i = 0;
   for(i=0; i<=1; i++) 
     preload_image_object.src = image_url[i];
}
