function PolarsternControl(){}
function FielaxLogo(){}

// Zum Erstellen einer "Unterklasse" des GControl wird das Prototypobjekt auf eine Instanz des GControl-Objekts festgelegt
PolarsternControl.prototype = new GControl(0,1);
FielaxLogo.prototype = new GControl;

FielaxLogo.prototype.initialize = function(map){
	var container = document.createElement("div");
	var flxlogo = document.createElement("div");
	flxlogo.style.backgroundImage = "url(./data/logos/logo.png)";
	//flxlogo.style.opacity = 0.75;
    //flxlogo.style.filter = "alpha(opacity = 75)";
	flxlogo.style.width = "210px";
    flxlogo.style.height = "77px";
	container.appendChild(flxlogo);
	map.getContainer().appendChild(container);
	return container;
}

PolarsternControl.prototype.initialize = function(map) {
  var container = document.createElement("div");
  var PolarsternDiv = document.getElementById("Section_PS");
  container.appendChild(PolarsternDiv);  
  map.getContainer().appendChild(container);
  return container;
}




// Standardmäßig wird das Bedienelement in der oberen linken Ecke der Karte mit 7 Pixeln Abstand zum Kartenrand angezeigt.
FielaxLogo.prototype.getDefaultPosition = function() {
  return new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(100, 10));
}
PolarsternControl.prototype.getDefaultPosition = function() {
  return new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(5, 25));
}
PolarsternControl.prototype.setLinkStyle_ = function(ps){
ps.style.overflowy = "scroll";
}


// Legt das korrekte CSS für das angegebene Schaltflächenelement fest.
/*ckControl.prototype.setCkStyle_ = function(ck_button){
  ck_button.style.backgroundColor = "white";
  ck_button.style.font = "90% Arial";
 // ck_button.style.font.fontSize: "8px";
  ck_button.style.border = "1px solid black";
  ck_button.style.padding = "0px";
  ck_button.style.paddingBottom = "1px";
  ck_button.style.marginBottom = "0px";
  ck_button.style.marginTop = "0px";
  ck_button.style.textAlign = "center";
  ck_button.style.width = "12em";
  ck_button.style.height = "1.5em";
  ck_button.style.cursor = "pointer";
  //ck_button.style.opacity = "0.75";
}*/
