window.addEvent('domready', function(){

	
	/* rounded boxes */
	$$('.box').each(function(item, index){
		item.grab(new Element('div', {'class': 'corner topLeft'}));
		item.grab(new Element('div', {'class': 'corner topRight'}));
		item.grab(new Element('div', {'class': 'corner bottomLeft'}));
		item.grab(new Element('div', {'class': 'corner bottomRight'}));
		
		
		//$('myElement').setStyles({
		//	border: '1px solid #000',
		//	width: 300,
		//	height: 400
		//});

		
		
	});
});