Event.observe(window, 'load', function() {
	if (!$('worklinks')) return
	links = $A($('worklinks').getElementsByTagName('a'));
	links.each(function(link){
		Event.observe(link, 'click', function(event) {
			$('iframe').setAttribute('src', link.href) 
			$('workspace').show()
			Event.stop(event);
		})
		
	})
	Event.observe('workspace-close', 'click', function() {
		$('workspace').hide()
		$('iframe').setAttribute('src', 'about:blank')
	})
})
