	var path_to_home = "/wp-content/plugins/picturesurf-gallery/widget";
	if(typeof(window.G_PS_GalleryPagePreurl) == 'undefined')
		G_PS_GalleryPagePreurl = '';
	var iG_data = "Gallery = {\"title\":\"\",\"gid\":1,\"datecr\":\"null\",\"dateup\":1273449446,\"code\":\"1u98x51810\",\"data\":{\"thar\":\"5x5\"},\"ims\":[{\"name\":\"photo.jpg\",\"id\":\"1\",\"src\":\"http://ianyoung.ca/wp-content/uploads/picturesurf/_1/1x031bsvg.jpg\",\"title\":\"Orgeon\",\"descr\":\"\",\"tags\":[\"\"],\"destroyed\":false,\"thumbnails\":{\"ST\":\"http://ianyoung.ca/wp-content/uploads/picturesurf/_1/ST_1x031bsvg.jpg\",\"custom\":\"http://ianyoung.ca/wp-content/uploads/picturesurf/_1/custom_1x031bsvg.jpg\",\"original\":\"http://ianyoung.ca/wp-content/uploads/picturesurf/_1/1x031bsvg.jpg\"}},{\"name\":\"October%25202009%2520407.jpg\",\"id\":\"10\",\"src\":\"http://ianyoung.ca/wp-content/uploads/picturesurf/_1/aj7xwsd4e.jpg\",\"title\":\"October%202009%20407\",\"descr\":\"\",\"tags\":[],\"destroyed\":false,\"thumbnails\":{\"ST\":\"http://ianyoung.ca/wp-content/uploads/picturesurf/_1/ST_aj7xwsd4e.jpg\",\"custom\":\"http://ianyoung.ca/wp-content/uploads/picturesurf/_1/custom_aj7xwsd4e.jpg\",\"original\":\"http://ianyoung.ca/wp-content/uploads/picturesurf/_1/aj7xwsd4e.jpg\"}}]}";
	var iG_galid = "1u98x51810";
	var G_GalleryDataPath = "/home/ianyoung/public_html/wp-content/uploads/picturesurf/__galleries/1u98x51810.json";
	if(!window.iGW_list)
	{
		var iGW_list = [];
		document.write("<script src='/wp-content/plugins/picturesurf-gallery/js/$jQ.js' type='text/javascript'></script>");
		document.write("<script src='"+path_to_home+"/igw_core.js' type='text/javascript'></script>");
	}
	else
		iGW_list.push(new iGW_Class(iG_galid, iG_data, G_PS_GalleryPagePreurl));
	//stats calls section
	if(iG_galid != 'preview' && G_PS_GalleryPagePreurl != '')
	{
		var G_PostUrl = G_PS_GalleryPagePreurl.replace(/image-page[\/=]/, '').replace('http://', '').replace(/\//g, '-S-').replace(/\./g, '-D-');
		G_PostUrl = G_PostUrl.replace(/\?/g, '-Q-').replace(/\&/g, '-A-').replace(/=/g, '-E-').replace(/"/g, '-d-').replace(/'/g, '-s-');
		if(typeof(window.G_PSGallerySelectImageToken) != 'undefined')
			document.write("<script src='http://www.picturesurf.org/stat/countView/image/"+G_PSGallerySelectImageToken+"/"+G_PostUrl+"' type='text/javascript'></script>");
		else
			document.write("<script src='http://www.picturesurf.org/stat/countView/gallery/1u98x51810/"+G_PostUrl+"' type='text/javascript'></script>");
	}