var k_button={"ff_link":document.getElementById("kampylink"),"close_button":document.getElementById("k_close_button"),"extra_params":null,"newwindow":"","popitup":function(_1,_2){
if(!this.newwindow.closed&&this.newwindow.location){
this.newwindow.location.href=_1;
}else{
this.newwindow=window.open(_1,"kampyle_ff","left="+((window.screenX||window.screenLeft)+10)+",top="+((window.screenY||window.screenTop)+10)+",height=502px,width=440px,resizable=false");
if(!this.newwindow.opener){
this.newwindow.opener=self;
}
}
if(window.focus){
this.newwindow.focus();
}
if(_2!="kampyle_ff"){
this.newwindow.name=_2;
}
return false;
},"open_ff":function(_3,_4){
var _5=_4||window.location.href;
_5=encodeURIComponent(_5);
if(!_3){
var _6=k_button.ff_link.href;
}else{
var _6="http://www.kampyle.com/feedback_form/ff-feedback-form.php?"+_3;
}
if(this.extra_params){
var _7=this.make_query_string(this.extra_params);
_6=_6+"&"+_7;
}
longUrl="kampyle_ff";
if((_6.length+_5.length)>250){
longUrl=_5;
_5="noUrl";
}
this.popitup(_6+"&url="+_5,longUrl);
},"hide_button":function(){
k_button.ff_link.style.display="none";
k_button.close_button.style.display="none";
},"make_query_string":function(_8){
var _9="";
var _a=[];
for(var s in _8){
_a.push(s+"="+encodeURIComponent(_8[s]));
}
_9=_a.join("&");
return _9;
},"addCss":function(_c){
var _d=document.createElement("link");
_d.setAttribute("rel","stylesheet");
_d.setAttribute("type","text/css");
_d.setAttribute("href",_c);
if(typeof _d!="undefined"){
document.getElementsByTagName("head")[0].appendChild(_d);
}
}};
if(((screen.width<=800)&&(screen.height<=600))&&(k_button.ff_link.className!="k_static")){
k_button.close_button.onclick=k_button.hide_button;
k_button.close_button.innerHTML="X";
k_button.close_button.style.display="block";
}
