/*


*/

	function wallpaperWindow(strURL) {
		var w = 640;
		var h = 500;
		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 2;
		var uploadWin = window.open(strURL, 'uploadWindow', 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no,resizable=0');
		uploadWin.focus();
	}
	
	function photoWindow(strURL) {
		var w = 660;
		var h = 490;
		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 2;
		var uploadWin = window.open(strURL, 'uploadWindow', 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no,resizable=0');
		uploadWin.focus();
	}

	function legalWindow(strURL) {
		var w = 640;
		var h = 500;
		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 2;
		var uploadWin = window.open(strURL, 'uploadWindow', 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no,resizable=0');
		uploadWin.focus();
	}

	function systemPageReload() {
		alert('Changing sound on/off');
		window.location.reload();
	}


	var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
	// Handle all the FSCommand messages in a Flash movie.
	function mute_DoFSCommand(command, args) {
	var muteObj = isInternetExplorer ? document.all.mute : document.mute;
		//
		// Place your code here.
		if (command == 'pageReload') {
			systemPageReload();
		}
		// Place your code here.
		//
	}

	// Hook for Internet Explorer.
	function systemPageVB_Flash() {
		if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
			document.write('<script language=\"VBScript\"\>\n');
			document.write('On Error Resume Next\n');
			document.write('Sub mute_FSCommand(ByVal command, ByVal args)\n');
			document.write('	Call mute_DoFSCommand(command, args)\n');
			document.write('End Sub\n');
			document.write('</script\>\n');
		}
	}

	function dynLayer_Image(strImage) {
		var objImageFloat = document.getElementById('page-shop-image');
		var intScreen_PositionX = (screen.availWidth / 2) - 60;
		var intScreen_PositionY = (screen.availHeight / 2) - 60;
		if ( objImageFloat ) {
			alert(intScreen_PositionX + ':' + intScreen_PositionY);
			objImageFloat.innerHTML = '<div style="position:absolute;top:'+intScreen_PositionY+'px;left:'+intScreen_PositionX+'px;z-index:9999999;height:120px;width:120px;"><img src="stream-image.php?siz=120&pv=' + strImage + '" border="0"></div>';
		}
	}

/*
*/