function menu(){

Images = new Array("http://www.gnourg.com/blog/wp-content/themes/gnourg/img/fa2.gif", 
	"http://www.gnourg.com/blog/wp-content/themes/gnourg/img/s12.gif", 
	"http://www.gnourg.com/blog/wp-content/themes/gnourg/img/s22.gif", 
	"http://www.gnourg.com/blog/wp-content/themes/gnourg/img/mb2", 
	"http://www.gnourg.com/blog/wp-content/themes/gnourg/img/p2.gif", 
	"http://www.gnourg.com/blog/wp-content/themes/gnourg/img/lg2.gif", 
	"http://www.gnourg.com/img/buyminer2.gif", 
	"http://www.gnourg.com/img/minerpre2.gif", 
	"http://www.gnourg.com/img/buyposter2.gif", 
	"http://www.gnourg.com/blog/wp-content/themes/gnourg/img/closelabel.gif", 
	"http://www.gnourg.com/blog/wp-content/themes/gnourg/img/nextlabel.gif", 
	"http://www.gnourg.com/blog/wp-content/themes/gnourg/img/prevlabel.gif",
	"http://www.gnourg.com/blog/wp-content/themes/gnourg/img/squid2.gif",
	"http://www.gnourg.com/blog/wp-content/themes/gnourg/img/bear2.gif");

for(loop=0; loop < Images.length; loop++){

var LoadedImage=new Image();

LoadedImage.src=Images[loop];}}

function pop(src, pw, ph){

var ht = screen.height;

var wd = screen.width;

if (ht <= 480){ph = 380;}

else if ((ht <= 600) && (ht > 480)){ph = 500;}

else if ((ht <= 768) && (ht > 600)){ph = 668;}

else if ((ht <= 950) && (ht > 768)){ph = 780;}

var x=(screen.width-pw)/2;

var y=((screen.height-ph)/2)-20;

var features = "width=" + pw + ",height=" + ph + ",scrollbars=yes" + ",resizable=yes" + ",top=" + y + ",screenY=" + y + ",left=" + x + ",screenX=" + x;

var theWindow = window.open(src.getAttribute('href'),src.getAttribute('target') || '_blank',features);

theWindow.focus();}

