// JavaScript Document
function setCount(n)
{
document.cookie = "count="+n;
}
function getCount()
{
theName = "count=";
theCookie = document.cookie+";"
start = theCookie.indexOf(theName);
if (start != -1)
{
end = theCookie.indexOf(";",start);
count = eval(unescape(theCookie.substring(start+theName.length,end)));
swapSWF('02.swf');
setCount(count+1);
}else{
swapSWF('01.swf');
setCount(2);
}
}
getCount();