function resizeIframe(width, height) {
	//create an iframe in this document so we can talk to the outer page
	var iframe = document.createElement("iframe");
	iframe.setAttribute("width",0);
	iframe.setAttribute("height",0);
	iframe.style.margin="0px";
	iframe.style.border="0px";			
	document.body.appendChild(iframe);
	
	//pass the parent page the dimensions to resize the container frame
	//hard coding for production- need to fix this for dev/test
	iframe.src = window.location.protocol + "//widgets.friendster.com/iframe_resize.html?height="+height+"&width="+width;	
}