NAME = Web Page

CAN_EDIT_STYLE = 1
CAN_EDIT_STYLE_COND = 1
IS_IFRAME = 1

BEGIN_BODY_ONLOAD

	<div id="[$DEF_name]Div" style="display: block;
	background-color: rgba(255,255,255,1.0);
	[$STYLE_height]
	[$STYLE_width]
	[$STYLE_margin]
	[$STYLE_border]
	[$STYLE_border-top]
	[$STYLE_border-bottom]
	[$STYLE_border-left]
	[$STYLE_border-right]
	[$STYLE_position_element]
	[$STYLE_transform]
	min-height: 10px;
	overflow: hidden;
	">

		<span id="[$DEF_name]Span" class="small" style="
		position: relative; top: 0px; left: 0px;
		">
		</span>

	</div>

END_BODY_ONLOAD

BEGIN_ONLOAD

    [$DEF_name]Load();
    
    if ([$DEF_name]Interval)
    	setInterval([$DEF_name]Load, [$DEF_name]Interval);
	
END_ONLOAD

BEGIN_DEFINITION

	var [$DEF_name]Interval = 1000 * [$DEF_interval];
	var [$DEF_name]LastShown = 0;

	function [$DEF_name]Load()
	{
		var CurrentTimestamp = new Date();

		if ([$DEF_name]LastShown + [$DEF_name]Interval - 1000 <= CurrentTimestamp.getTime())
		{
			var topPos = [$DEF_top];
			var leftPos = [$DEF_left];
			
			document.getElementById('[$DEF_name]Span').innerHTML =  '<iframe width="[$DEF_width]" height="[$DEF_height]" scrolling="[$DEF_scroll]" frameborder="0" src="[$DEF_address]"></iframe>';
			
		//	if (ON_DEVICE)
		//		topPos -= 12;
				
			document.getElementById('[$DEF_name]Span').style.pixelTop	= topPos;
			document.getElementById('[$DEF_name]Span').style.pixelLeft	= leftPos;
			
			CurrentTimestamp = new Date();
			[$DEF_name]LastShown = CurrentTimestamp.getTime();
		}
	}

END_DEFINITION

BEGIN_DEF
DEF_name = W2010061420571463
DEF_address = http://www.google.com/finance?q=AAPL
DEF_width = 300
DEF_height = 200
DEF_top = 0
DEF_left = 0
DEF_scrollH = 0
DEF_scrollV = 0
DEF_interval = 0
DEF_description = 
END_DEF

BEGIN_STYLE
STYLE_width = 200px;
STYLE_height = 98px;
STYLE_position_element = absolute; top: 520px; left: 176px;
STYLE_margin = 0px 0px 0px 0px;
STYLE_border = 
STYLE_position_content = relative; top: -123px; left: -178px;
STYLE_border-top = 
STYLE_border-bottom = 
STYLE_border-left = 
STYLE_border-right = 
STYLE_transform = none;
END_STYLE
SEQNO = 7
HDRFLAGS = 000000000000000000000000000000
TEST_CONDITION = 0
USE_TEXT = 0
USE_WEATHER = 0
EVAL_INTERVAL = 10000
