function initFg(id,product,flash,width,height,target,name){
	so = new SWFObject(flash, name, width, height, "8", "#ffffff");
		so.addParam("wmode", "transparent");
		so.addVariable("adSet", id);
		so.addVariable("product", product);
   	so.write(target);
		fg = document.getElementById(name);
}
function resetGallery(i){
	initFg(0, i , 'ppcGalleryFeb2.swf',415,300,'flashGallery','gallery');
}
function selectMe(sel,count){
	for(i=0;i<count;i++){
		if(sel==(i+1)){
			document.getElementById('st'+(i+1)).className='selected';
		}else{
			document.getElementById('st'+(i+1)).className='';
		}
	}
}

