// JavaScript Document

var myButton=document.getElementById('change');
	myButton.onclick=changeSize;
	
	/*
	*changeSize is a demo for accessing the DOM
	*@param - none
	*@return void
	*@note - this is an example of unobtrusive js
	*/
 	function changeSize()
	{
		var myWidth=document.getElementById('w').value + 'px';
		var myHeight=document.getElementById('h').value + 'px';
		
		document.getElementById('pic').style.width=myWidth;
		document.getElementById('pic').style.height=myHeight;
	}
		
