/**
* JavaScript
*
* @author	Sebastian Müller <sebastian produktivbuero de>
* @date		03/02/2007
*/

$(document).ready(function(){
  $("#navigation ol li").corner("cc:#C3C3C3 bottom");
  $("#content").corner("cc:#C3C3C3 top");
  $("#footer").corner("cc:#C3C3C3 bottom");
});


/** ************************************************************************
* Öffnet ein Popupfenster
*
* @param	$url  Zieladresse
* @param	$width  Fensterbreite
* @param	$height  Fensterhöhe
* @return	-
* @author	Sebastian Müller
* @date		12/04/2007
***************************************************************************/

function popup(url, width, height) {
	myWindow = window.open(url,'popup','width=' + width + ', height=' + height + ', toolbar=no,location=no,status=no,menubar=no,resizable=yes,top=0,left=0');
};


/** ************************************************************************
* Positioniert das aktuelle Fenster
*
* @return	-
* @author	Sebastian Müller
* @date		07/02/2008
***************************************************************************/

function positionWindow() {
  self.resizeTo(screen.availWidth, screen.availHeight);
  self.moveTo(0,0);
  self.focus();
};
