function renderGoogleMap(height,width,source,elementid) {
	var content = '<iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" class="google_map" height="' + height +'" width="' + width +'" src="' + source +'"/>'; 
	document.getElementById(elementid).innerHTML = content;
}
function renderFlickrSlideshow(height,width,userid,setid,elementid) {
	var content = '<iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" class="flickr_slideshow" height="' + height +'" width="' + width +'" src="http://www.flickr.com/slideShow/index.gne?user_id=' + userid + '&set_id=' + setid + '"/>'; 
	document.getElementById(elementid).innerHTML = content;
}
function renderYouTubeVideo(height,width,video_id,elementid) {
	var content = '<object height="' + height +'" width="' + width +'"><param name="movie" value="http://www.youtube.com/v/' + video_id +'"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/' + video_id +'" type="application/x-shockwave-flash" allowfullscreen="true" wmode="transparent" height="' + height +'" width="' + width +'"></embed></object>';
	document.getElementById(elementid).innerHTML = content;
}
function renderVimeoVideo(height,width,clip_id,elementid) {
	var content = '<object height="' + height +'" width="' + width +'"><param name="allowfullscreen" value="true" /><param name="wmode" value="transparent"/><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=' + clip_id + '&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=' + clip_id + '&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" wmode="transparent" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="' + width + '" height="' + height + '"/></object>';
	document.getElementById(elementid).innerHTML = content;
}