function fullscreen() {
	window.moveTo(0,0);
	window.resizeTo(screen.availWidth,screen.availHeight);
}

function upscalewindow(url,winName,popupwidth,popupheight) {
	var new_window = window.open(url,winName,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=' + popupwidth + ',height=' + popupheight);
}	

function popup_resize(popupwidth,popupheight) {
	/* When calling this function supply the width and height of the popup */
		var horizontal = ((screen.availWidth / 2) - (popupwidth / 2));
		var vertical = ((screen.availHeight / 2) - (popupheight / 2));
		window.moveTo(horizontal,vertical);
		window.resizeTo(popupwidth,popupheight);
}

function GetThis(T, C, U, L)  { 
    var targetUrl = 'http://www.myspace.com/index.cfm?fuseaction=postto&' + 't=' + encodeURIComponent(T) 
	+ '&c=' + encodeURIComponent(C) + '&u=' + encodeURIComponent(U) + '&l=' + L; 
	window.open(targetUrl); 
} 

/* Image preloaders */
img1 = new Image();
img1.src = '/images/social_hide.jpg';

img2 = new Image();
img2.src = '/images/ui.stars.gif';
/* END PRELOADER */