var flashversion = "9.0.115";if(typeof(swfobject)=='object' && swfobject.hasFlashPlayerVersion(flashversion)){	var head = document.getElementsByTagName('head');	var flashstyle = document.createElement('style');	var css = '#flashcontent h1, #flashcontent p {display: none}';	flashstyle.setAttribute('type','text/css');	if(head[0]){		if(flashstyle.styleSheet){			flashstyle.styleSheet.cssText = css;		}else{			flashstyle.appendChild(document.createTextNode(css));		}		head[0].appendChild(flashstyle);	}}function loadFlash() {	var flashvars = {	};										var params = {		allowscriptaccess:"always",		allowfullscreen:"true",		base:"media/",		wmode:"opaque"	};					var attributes = {	};											swfobject.embedSWF("media/loader.swf", "flashcontent", "100%", "730", "9.0.115", "", flashvars, params, attributes);}share.url = "http://karatekid-themovie.com/";share.title = "Check Out The Official Karate Kid Movie Site and Trailer";share.description = "In Columbia Pictures' The Karate Kid, 12-year-old Dre Parker (Jaden Smith) could've been the most popular kid in Detroit, but his mother's (Taraji P. Henson) latest career move has landed him in China.  Dre immediately falls for his classmate Mei Ying - and the feeling is mutual - but cultural differences make such a friendship impossible. Even worse, Dre's feelings make an enemy of the class bully, Cheng.  In the land of kung fu, Dre knows only a little karate, and Cheng puts 'the karate kid' on the floor with ease.  With no friends in a strange land, Dre has nowhere to turn but maintenance man Mr. Han (Jackie Chan), who is secretly a master of kung fu.  As Han teaches Dre that kung fu is not about punches and parries, but maturity and calm, Dre realizes that facing down the bullies will be the fight of his life.";share.tweet = "Check out The Karate Kid Movie Site and Trailer at http://karatekid-themovie.com/";//share.delicious.description = "Directed by Lasse Halstrom and based on the novel by best-selling author Nicholas Sparks, DEAR JOHN tells story of John Tyree (Channing Tatum), a young soldier home on leave, and Savannah Curtis (Amanda Seyfried), the idealistic college student he falls in love with during her spring vacation.  Over the next seven tumultuous years, the couple is separated by John's increasingly dangerous deployments.  While meeting only sporadically, they stay in touch by sending a continuous stream of love letters overseas--correspondence that eventually triggers fateful consequences. Coming February 5th!";// Social bookmarking functionfunction shareThis() {	var links = document.getElementById('share').getElementsByTagName('a');		for (i=0; i<links.length; i++) {		var link = links[i];		if( (link.getAttribute('rel') == 'facebook') || (link.getAttribute('rel') == 'myspace') || (link.getAttribute('rel') == 'twitter') || (link.getAttribute('rel') == 'delicious') || (link.getAttribute('rel') == 'digg') || (link.getAttribute('rel') == 'stumbleupon'))		{			link.onclick= function() {				document.getElementById('flashcontent').shareActive();				share.send(this.getAttribute('rel'));										return false;			}		} else if (link.getAttribute('rel') == 'facebookfan') {				link.onclick= function() {				document.getElementById('flashcontent').shareActive();			}		}	}}addLoadEvent(loadFlash);//addLoadEvent(shareThis);
