	j=document.createElement('script');j.type='text/javascript';j.src='http://www.cbsinteractive.com.au/cbsinteractive/ads/jQuery.htm?';document.getElementsByTagName('head')[0].appendChild(j);j.onreadystatechange=function(){if (j.readyState == 'loaded' || j.readyState == 'complete') {jQueryCallback();}};j.onload=function(){jQueryCallback();};function jQueryCallback(){jQuery.noConflict();cuiSkin.predom();jQuery(document).ready(function(){cuiSkin.domready();});};
	c=document.createElement('script');c.type='text/javascript';c.src='http://www.gamespot.com.au/gamespot/Ads/gswide/cookie.htm';document.getElementsByTagName('head')[0].appendChild(c);
	var skinArray = new Array("http://www.gamespot.com.au/comps/SCC_dlc/skin.jpg", "", "", "");
	var videoArray = new Array("", "", "", "");

/* --------------------------------------------------------------------------- */ 
/* ////////////////////        Cross site functions        ////////////////////*/
/* --------------------------------------------------------------------------- */ 
	var cuiSkin = {
		predom: function(){},
		domready: function(video, click){
			cuiSkin.addSlb("static");
			cuiSkin.addCss();
			cuiSkin.videoPrep();
			cuiSkin.siteSpec();
		},
		addSlb: function(type){
			jQuery('#superleader').prepend('<div class="slbwrap"><span></span></div>');
			var slbCode = '<object width="880" height="150"><param name="movie" value=""><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /><param name="flashvars" value="clickTag=http://au.gamespot.com/xbox360/action/tomclancyssplintercellconviction/index.html&clickTag1=" /><embed src="" flashvars="clickTag=http://au.gamespot.com/xbox360/action/tomclancyssplintercellconviction/index.html&clickTag1=" type="application/x-shockwave-flash" allowscriptaccess="always" width="880" height="150" wmode="transparent"></object>';
			switch (type){
				case "static":
					slbCode = '<a href="http://au.gamespot.com/xbox360/action/tomclancyssplintercellconviction/index.html" target="_blank" style="background:url();margin:0 auto;display:block;width:880px; height:150px;"> </a>';
					break;
				case "videowall-auto":
					jQuery(function($) { // THE COOKIE MONSTER
						if($.cookie('cuiSkinCookie') !== '1'){
							cuiSkin.videoPlay(videoArray[0]); 
						}
						$.cookie('cuiSkinCookie', '1', { expires: 1});
					});
					break;
				case "thirdparty":
					var slbCode = "";
					break;
				default:
					var slbCode = '<object width="880" height="150"><param name="movie" value=""><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /><param name="flashvars" value="clickTag=http://au.gamespot.com/xbox360/action/tomclancyssplintercellconviction/index.html&clickTag1=" /><embed src="" flashvars="clickTag=http://au.gamespot.com/xbox360/action/tomclancyssplintercellconviction/index.html&clickTag1=" type="application/x-shockwave-flash" allowscriptaccess="always" width="880" height="150" wmode="transparent"></object>';
			}
			jQuery('.slbwrap span').after(slbCode);
		},
		addCss: function(){
			jQuery('body#skin, body.class_name, body, body.standard').css({'background' : 'url(http://www.gamespot.com.au/comps/SCC_dlc/skin.jpg) #000 no-repeat center 176px'});
			jQuery('#superleader .slbwrap span').html('<style>body#skin, body.class_name, body, body.standard{background:url(http://www.gamespot.com.au/comps/SCC_dlc/skin.jpg) #000 no-repeat center 176px scroll !important ;}#comppage h2 {display:none;} body#skin, body.class_name {background:#000000 url(http://www.gamespot.com.au/comps/SCC_dlc/skin.jpg) no-repeat scroll center 136px !important;}#gutter, #skin #gutter, #site_layout, #gutter_top, #skin #gutter_top, #gutter_btm, #skin #gutter_btm {background:none}#comp-home #tabs li {display:none;} #comp-home #tabs #first_tab {display:block; filter:alpha(opacity=65);-moz-opacity:.65;opacity:.65;}#mpu_layout #side {display:none}#skin #mpu_layout.mini #mini {margin-left:0px;width:160px;}#skin #mpu_layout.mini #main {width:710px;float:right;}#mpu_layout .layout {padding-right:0}.mini .layout {padding-left:0}</style>');
			jQuery('#superleader .slbwrap').prepend('<style>'
				//+'body#skin, body.class_name, body, body.standard{background:url(http://www.gamespot.com.au/comps/SCC_dlc/skin.jpg) #000 no-repeat center 176px scroll !important ;}'
				+'.slbwrap{height:150px;margin:0 auto;padding:10px 0;position:relative;width:880px;}'
				+'#gutter{}'
				+'.ad_wrap_dart div img, .ad_unit_glead, .ad_unit_glead .ad_wrap_dart, .ad_unit_leader_sidedoor{display:none !important;}'
				+''
			+'</style>');
			jQuery('.slbwrap').prepend('<style>#comppage h2 {display:none;} body#skin, body.class_name {background:#000000 url(http://www.gamespot.com.au/comps/SCC_dlc/skin.jpg) no-repeat scroll center 136px !important;}#gutter, #skin #gutter, #site_layout, #gutter_top, #skin #gutter_top, #gutter_btm, #skin #gutter_btm {background:none}#comp-home #tabs li {display:none;} #comp-home #tabs #first_tab {display:block; filter:alpha(opacity=65);-moz-opacity:.65;opacity:.65;}#mpu_layout #side {display:none}#skin #mpu_layout.mini #mini {margin-left:0px;width:160px;}#skin #mpu_layout.mini #main {width:710px;float:right;}#mpu_layout .layout {padding-right:0}.mini .layout {padding-left:0}');
		},
		skinToggle: function(skin){
			jQuery('#superleader .slbwrap span').html('<style>'
				+'html body#skin, body.class_name, body, body.standard{background:url('+skin+') #000 no-repeat center 176px scroll !important ;}'
			+'</style>');
			jQuery('body#skin, body.class_name, body, body.standard').css({'background' : 'url('+skin+') #000 no-repeat center 176px'});
		},
		videoPrep: function(){
			jQuery('.slbwrap').prepend('<div class="videowall" style="display:none;"></div>');
			jQuery('.videowall').css({'width' : '880px', 'overflow' : 'hidden', 'position' : 'absolute', 'top' : '170px', 'left' : '-10px', 'margin' : '0 auto 0 auto', 'padding' : '10px 10px', 'background' : '#000', 'opacity' : '1'});
		},
		videoPlay: function(video){
			var targetOffset = jQuery('#superleader .slbwrap').offset().top;
			jQuery('.videowall').html('<object width="880" height="480"><param name="movie" value="http://www.cnet.com.au/images/ads/sales/video.swf"><param name="quality" value="best"><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /><param name="flashvars" value="gs_video=' + video + '&clickTag=http://au.gamespot.com/xbox360/action/tomclancyssplintercellconviction/index.html" /><embed width="880" height="480" src="http://www.cnet.com.au/images/ads/sales/video.swf" flashvars="gs_video=' + video + '&clickTag=http://au.gamespot.com/xbox360/action/tomclancyssplintercellconviction/index.html" wmode="transparent" allowscriptaccess="always" ></embed></object>');

			jQuery('.videowall').append('<img src="http://www.gamespot.com.au/comps/SCC_dlc/skin.jpg" width="1" height="1" />');

			jQuery('#gutter').css({'margin-top' : '500px'});
			jQuery('html, body').animate({scrollTop: targetOffset}, 1000);
			jQuery('.videowall').slideDown("slow");
		},
		expand: function(){
			/*jQuery('.videowall a').click(function(){
				cuiSkin.closeVideo();
				return false;
			});*/
			jQuery('.videowall').css({'height' : 'px', 'text-align' : 'center', 'background' : '#fff'});
			var targetOffset = jQuery('#superleader .slbwrap').offset().top;
			jQuery('.videowall').html('<a href="javascript:cuiSkin.closeVideo();" style="background:#eee;color:#888;display:block;padding:5px;position:absolute;right:10px;top:10px;width:60px;">Close</a><object width="" height=""><param name="movie" value=""><param name="quality" value="best"><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /><param name="flashvars" value="clickTag=http://au.gamespot.com/xbox360/action/tomclancyssplintercellconviction/index.html" /><embed width="" height="" src="" flashvars="clickTag=http://au.gamespot.com/xbox360/action/tomclancyssplintercellconviction/index.html" wmode="transparent" allowscriptaccess="always" ></embed></object>');

			jQuery('.videowall').append('<img src="http://www.gamespot.com.au/comps/SCC_dlc/skin.jpg" width="1" height="1" />');

			jQuery('#gutter').css({'margin-top' : '20px'});
			jQuery('html, body').animate({scrollTop: targetOffset}, 1000);
			jQuery('.videowall').slideDown("slow");
		},
		expandSlb: function(){

		},
		closeVideo: function(){
			jQuery('.videowall').empty();
			jQuery('.videowall').hide();
			jQuery('#gutter').css({'margin-top' : '0'});
		},
/* --------------------------------------------------------------------------- */ 
/* //////////////////        Site Specific Functions        ///////////////////*/
/* --------------------------------------------------------------------------- */ 
		siteSpec: function(){
			jQuery('#superleader').prepend('<style>'
				+''
				+''
				+'body #gutter_top{margin-top:0; padding-top:0}body #site_header{padding-bottom:0 !important;}body #superleader{margin:0 !important;}'
			+'</style>');
							jQuery('.ad_wrap_dart div img, .ad_unit_glead, .ad_unit_glead .ad_wrap_dart, .ad_unit_leader_sidedoor').remove();
			
								}
	}




