	var path_to_home = "/wp-content/plugins/picturesurf-gallery/widget";
	if(typeof(window.G_PSGalleryPagePreurl) == 'undefined')
		G_PSGalleryPagePreurl = '';
	var iG_data = "Gallery = {\"title\":\"Kodak Zx1\",\"gid\":161,\"datecr\":\"Tue Mar 24 2009 13:29:58 GMT-0400 (EDT)\",\"dateup\":1237916112,\"data\":{\"thar\":\"5x7\",\"dw\":0,\"dh\":0,\"f\":\"Select a font\",\"lc\":\"#0D6DCE\",\"lhc\":\"#0D6DCE\"},\"ims\":[{\"name\":\"IMG_7780.JPG\",\"id\":\"95263\",\"src\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/27qs0no7tgwq.JPG\",\"title\":\"IMG_7780\",\"descr\":\"\",\"tags\":[],\"category\":\"\",\"destroyed\":false,\"thumbnails\":{\"ST\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/ST_27qs0no7tgwq.JPG\",\"custom\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/custom_27qs0no7tgwq.JPG\",\"original\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/27qs0no7tgwq.JPG\"}},{\"name\":\"IMG_7776.JPG\",\"id\":\"95264\",\"src\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/27qt3tr6ce7v.JPG\",\"title\":\"IMG_7776\",\"descr\":\"\",\"tags\":[],\"category\":\"\",\"destroyed\":false,\"thumbnails\":{\"ST\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/ST_27qt3tr6ce7v.JPG\",\"custom\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/custom_27qt3tr6ce7v.JPG\",\"original\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/27qt3tr6ce7v.JPG\"}},{\"name\":\"IMG_7778.JPG\",\"id\":\"95265\",\"src\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/27qu19va620x.JPG\",\"title\":\"IMG_7778\",\"descr\":\"\",\"tags\":[],\"category\":\"\",\"destroyed\":false,\"thumbnails\":{\"ST\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/ST_27qu19va620x.JPG\",\"custom\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/custom_27qu19va620x.JPG\",\"original\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/27qu19va620x.JPG\"}},{\"name\":\"IMG_7781.JPG\",\"id\":\"95266\",\"src\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/27qvdwc316ex.JPG\",\"title\":\"IMG_7781\",\"descr\":\"\",\"tags\":[],\"category\":\"\",\"destroyed\":false,\"thumbnails\":{\"ST\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/ST_27qvdwc316ex.JPG\",\"custom\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/custom_27qvdwc316ex.JPG\",\"original\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/27qvdwc316ex.JPG\"}},{\"name\":\"IMG_7777.JPG\",\"id\":\"95267\",\"src\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/27qwf7w6kxxn.JPG\",\"title\":\"IMG_7777\",\"descr\":\"\",\"tags\":[],\"category\":\"\",\"destroyed\":false,\"thumbnails\":{\"ST\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/ST_27qwf7w6kxxn.JPG\",\"custom\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/custom_27qwf7w6kxxn.JPG\",\"original\":\"http://www.crunchgear.com/wp-content/uploads/picturesurf/Kodak_Zx1_161/27qwf7w6kxxn.JPG\"}}],\"code\":\"4l9kg4hb0x\"}";
	var iG_galid = "4l9kg4hb0x";
	var G_GalleryDataPath = "/mnt/stor2-wc2-dfw1/425972/www.crunchgear.com/web/content/wp-content/uploads/picturesurf/__galleries/4l9kg4hb0x.json";
	if(!window.iGW_list)
	{
		var iGW_list = [];
		document.write("<script src='"+path_to_home+"/igw_tools.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_PSGalleryPagePreurl));
	//stats calls section
	if(iG_galid != 'preview' && G_PSGalleryPagePreurl != '')
	{
		var G_PostUrl = G_PSGalleryPagePreurl.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/4l9kg4hb0x/"+G_PostUrl+"' type='text/javascript'></script>");
	}