function object_exists(id){
	if(document.getElementById(id) != undefined){
		return true;
	}
	else{
		return false;
	}
}
function getObj(id){
	if(document.getElementById(id) != undefined){
		return document.getElementById(id);
	}
	else{
		return false;
	}
}
function show(id){
	getObj(id).style.display = 'block';
}
function show_flash(f_id, f_src, f_back, flashvars){	
	var params = {};
	params.quality = "high";
	params.menu = "false";
	params.bgcolor = f_back;
	params.wmode = "transparant";
	
	var attributes = {};
	attributes.id = "uniqueID";
	attributes.name = "uniqueID";
	
	swfobject.embedSWF(f_src, f_id, getObj("container").offsetWidth, getObj("container").offsetHeight, "8.0.0", "", flashvars, params, attributes);
}
function check_flash(){
	var playerVersion = swfobject.getFlashPlayerVersion();
	if(playerVersion.major >= 9){
		return true;
	}
	else{
		return false;
	}
}
