NAME = Background
FIXED_AT_BOTTOM = 1
IS_BACKGROUND = 1
ONLY_ONE = 1

CAN_EDIT_STYLE = 1
CAN_EDIT_BACKGROUND_IMAGE = [$DEFINITION]/LockBackground.png

BEGIN_ONLOAD

   DefaultBackgroundImageLoad([$USE_DEFAULT_BACKGROUND_IMAGE]);

END_ONLOAD

BEGIN_DEFINITION
	
	function DefaultBackgroundImageLoad(use)
	{
		if (use)
		{
			var CurrentTimestamp = new Date();
			var CurrentTime = CurrentTimestamp.getTime();

			delete CurrentTimestamp;
			
			document.getElementById("DefaultBackgroundImage").style.display = 'block';
			
			if (use == 2)	path = "/private/var/mobile/Library/HomeBackground.jpg?v=" + CurrentTime;
			else		path = "/private/var/mobile/Library/LockBackground.jpg?v=" + CurrentTime;
			
			document.getElementById("DefaultBackgroundImage").src = path;
		}
		else
		{
			document.getElementById("DefaultBackgroundImage").style.display = 'none';
		}
	}
	
END_DEFINITION

BEGIN_DEF
DEF_name = W2010061616095204
DEF_format = []
DEF_interval = 300
DEF_description = 
DEF_iconSize = 24
END_DEF

BEGIN_STYLE
STYLE_background = url('990_Background_RSRC001/LockBackground.png[$IMGVERSION]') no-repeat;
STYLE_background-color = none;
END_STYLE

ENABLE = 1
SEQNO = 4
HDRFLAGS = 000000000000000000000000000000
TEST_CONDITION = 0
USE_TEXT = 0
USE_WEATHER = 0
EVAL_INTERVAL = 500
