share.url = "http://www.GrownUps-Movie.net";
share.title = "Grown Ups | Official Sony Pictures International Movie Site";
share.description = "GROWN UPS, a comedy with Adam Sandler, Kevin James, Chris Rock, Rob Schneider, and David Spade, tells the story of five childhood friends who pick up where they left off.";
share.tweet = "Check out the official Grown Ups movie site!  http://www.GrownUps-Movie.net";
share.delicious.description = "GROWN UPS, a comedy with Adam Sandler, Kevin James, Chris Rock, Rob Schneider, and David Spade, tells the story of five childhood friends who pick up where they left off.";

var flashvars = {
	section:swfobject.getQueryParamValue('section')
};

var params = {
	base:'media/',
	allowScriptAccess:'always',
	allowFullScreen:'true'
};
var attributes = {};

swfobject.embedSWF("media/preloader.swf", "flashcontent", "100%", "800", "10.0.32.18","", flashvars, params, attributes);

function popDownload(url){
	var window_width = 500;
	var window_height = 500;
	var window_top = (screen.height-window_height)/2;
	var window_left = (screen.width-window_width)/2;
	if(!window.open(url,'_blank','width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left)){
		alert('Please disable your popup blocker and try again');
	}
}

function popBBallGame(url){
	var window_width = 600;
	var window_height = 465;
	var window_top = (screen.height-window_height)/2;
	var window_left = (screen.width-window_width)/2;

	if(!window.open(url,'_blank','width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left)){
		alert('Please disable your popup blocker and try again');
	}
}

function popWaterGame(url){
	var window_width = 599;
	var window_height = 470;
	var window_top = (screen.height-window_height)/2;
	var window_left = (screen.width-window_width)/2;
	if(!window.open(url,'_blank','width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left)){
		alert('Please disable your popup blocker and try again');
	}
}

function popRopeGame(url){
	var window_width = 1000;
	var window_height = 840;
	var window_top = (screen.height-window_height)/2;
	var window_left = (screen.width-window_width)/2;
	if(!window.open(url,'_blank','width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left)){
		alert('Please disable your popup blocker and try again');
	}
}

