active=1;

//get current server
host = window.location.hostname;
prefix = parent.location.protocol + '//';
basepath = prefix+host;
