/*
Please refer to readme.html for full Instructions

Text[...]=[title,text]

Style[...]=[TitleColor,TextColor,TitleBgColor,TextBgColor,TitleBgImag,TextBgImag,TitleTextAlign,TextTextAlign, TitleFontFace, TextFontFace, TipPosition, StickyStyle, TitleFontSize, TextFontSize, Width, Height, BorderSize, PadTextArea, CoordinateX , CoordinateY, TransitionNumber, TransitionDuration, TransparencyLevel ,ShadowType, ShadowColor]
*/


var xmlhttp = new Array;
var text;
var i;
BrowserCheck();
loadFragment("Peter Mackey",0);
loadFragment("Diane Offenbach",1);
loadFragment("Jennafer Stahl",2);
loadFragment("Rafael Carrera",3);
loadFragment("Krasmira Mladenova",4);
loadFragment("Lawrence Massey",5);
loadFragment("Paula Friedman",6);
loadFragment("Erin Morris",7);
loadFragment("Adam Conley",8);
loadFragment("Susan Smith",9);


var FiltersEnabled = 1 // if your not going to use transitions or filters in any of the tips set this to 0


function BrowserCheck () {
	var xmlhttptest;
	try	{  // Firefox, Opera 8.0+, Safari
		xmlhttptest=new XMLHttpRequest();
	}
	catch (e) {  // Internet Explorer
		try {
			xmlhttptest=new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e) {
			try {
				xmlhttptest=new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (e) {
				alert("Your browser does not support AJAX!");
				return false;
			}
		}
	}
}

function loadFragment(researcher,i) {
	xmlhttp[i]=new XMLHttpRequest();
	var fragment_url = "/index/"+researcher.replace(/ /g,"_");
    xmlhttp[i].open("GET", fragment_url);
    xmlhttp[i].onreadystatechange = function() {
        if (xmlhttp[i].readyState == 4 && xmlhttp[i].status == 200) {
            text = xmlhttp[i].responseText;
			Text[i]=[researcher,text]
        }
    }
	xmlhttp[i].send(null);
}



Style[0]=["white","black","#000099","#E8E8FF","","","","","","","fixed","","","",400,"",2,2,30,200,51,1,0,"",""]
Style[1]=["white","black","#000099","#E8E8FF","","","","","","","center","","","",200,"",2,2,10,10,"","","","",""]
Style[2]=["white","black","#000099","#E8E8FF","","","","","","","left","","","",200,"",2,2,10,10,"","","","",""]
Style[3]=["white","black","#000099","#E8E8FF","","","","","","","float","","","",200,"",2,2,10,10,"","","","",""]
Style[4]=["white","black","#000099","#E8E8FF","","","","","","","fixed","","","",200,"",2,2,1,1,"","","","",""]
Style[5]=["white","black","#000099","#E8E8FF","","","","","","","","sticky","","",200,"",2,2,10,10,"","","","",""]
Style[6]=["white","black","#000099","#E8E8FF","","","","","","","","keep","","",200,"",2,2,10,10,"","","","",""]
Style[7]=["white","black","#000099","#E8E8FF","","","","","","","","","","",200,"",2,2,40,10,"","","","",""]
Style[8]=["white","black","#000099","#E8E8FF","","","","","","","","","","",200,"",2,2,10,50,"","","","",""]
Style[9]=["white","black","#000099","#E8E8FF","","","","","","","","","","",200,"",2,2,10,10,51,0.5,75,"simple","gray"]
Style[10]=["white","black","black","white","","","right","","Impact","cursive","center","",3,5,200,150,5,20,10,0,50,1,80,"complex","gray"]
Style[11]=["white","black","#000099","#E8E8FF","","","","","","","","","","",200,"",2,2,10,10,51,0.5,45,"simple","gray"]
Style[12]=["white","black","#000099","#E8E8FF","","","","","","","","","","",200,"",2,2,10,10,"","","","",""]

applyCssFilter();