<!--
function FP_swapImg(){
var doc=document,args=arguments,elm,n;doc.$imgSwaps=new Array();for(n=2;n<args.length;
n+=2){elm=FP_getObjectByID(args[n]);if(elm){doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src;elm.src=args[n+1];}}
}
function FP_preloadImgs(){
var d=document,a=arguments;if(!d.FP_imgs)d.FP_imgs=new Array();
for(var i=0;i<a.length;i++){d.FP_imgs[i]=new Image;d.FP_imgs[i].src=a[i];}
}
function FP_getObjectByID(id,o){
var c,el,els,f,m,n;if(!o)o=document;if(o.getElementById)el=o.getElementById(id);
else if(o.layers)c=o.layers;else if(o.all)el=o.all[id];if(el)return el;
if(o.id==id||o.name==id)return o;if(o.childNodes)c=o.childNodes;if(c)
for(n=0;n<c.length;n++){el=FP_getObjectByID(id,c[n]);if(el)return el;}
f=o.forms;if(f)for(n=0;n<f.length;n++){els=f[n].elements;
for(m=0;m<els.length;m++){el=FP_getObjectByID(id,els[n]);if(el)return el;}}
return null;
}
function login(form){
if(email(form)&&password(form))
return true;
return false;
}
function email(form){
if(form.email.value.indexOf("@")!=-1)
return true;
alert("You have to enter a valid email");
form.email.focus();
return false;
}
function password(form){
if(form.password.value.length>3)
return true;
alert("Your password is to short, minimum length is 4\n\n Try again!");
form.password.focus();
return false;
}
function guestbook(form){
if(guestbookname(form)&&guestbookheadline(form)&&guestbookmessage(form))
return true;
return false;
}
function guestbookname(form){
if(form.guestbookname.value.length>3)
return true;
alert("Your Name is to short, minimum length is 4\n\n Try again!");
return false;
}
function guestbookheadline(form){
if(form.guestbookheadline.value.length>3)
return true;
alert("Your headline is to short, minimum length is 4\n\n Try again!");
return false;
}
function guestbookmessage(form){
if(form.guestbookmessage.value.length>3)
return true;
alert("Your message is to short, minimum length is 4\n\n Try again!");
return false;
}
function status(text){
windows.status=text;
return true;
}
function Slideshow(OpenURL){
window.open(OpenURL,'NewWin','location=no,menubar=no,directories=no,scrollbars=no,resizable=YES,status=no,width=300,height=370');
}
function Chat()
{
window.open("chat/","ClubSoftie_Chat","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,fullscreen=no,width=800,height=600,top=100,left=100");
}
function upload(OpenURL)
{
window.open(OpenURL,'NewWin','location=no,menubar=no,directories=no,scrollbars=no,resizable=no,status=no,width=400,height=400');
}
function edit(OpenURL)
{
window.open(OpenURL,'NewWin','location=no,menubar=no,directories=no,scrollbars=no,resizable=no,status=no,width=400,height=400');
}
function mpicture(OpenURL)
{
window.open(OpenURL,'NewWin','location=no,menubar=no,directories=no,scrollbars=yes,resizable=no,status=no,width=500,height=500');
}

function Validator(theForm)
{
if(theForm.fname.value=="")
{
alert("Input value for Fist name!");
theForm.fname.focus();
return(false);
}
if(theForm.fname.value.length<3)
{
alert("Input firsname, minimal length is 4!");
theForm.fname.focus();
return(false);
}
if(theForm.lname.value=="")
{
alert("Input value for Lastname!");
theForm.lname.focus();
return(false);
}
if(theForm.Xemail.value.indexOf("@")==-1)
{
alert("You have to enter a valid email");
theForm.Xemail.focus();
return(false);
}
if((theForm.pwd1.value!=theForm.pwd2.value)||theForm.pwd1.value.length<3)
{
alert("Your passwords do not match!\nMinimum length is 4");
theForm.pwd2.focus();
return(false);
}
if(theForm.agree.checked==false)
{
alert('You have to agree to the terms to continue.');
theForm.agree.focus();
return(false);
}
return(true);
}
window.defaultStatus="ClubSoftie.com";
function del(url)
{
if(confirm("Delete this picture?"))
{
self.location=(url);
}
}
