
safecount_iframefix = new Object();
// Get the parameters from the IFrame
safecount_iframefix.strSearch = document.location.search;
// Find a parameter called 'sub'.  This holds the name of a server at QuestionMarket where the rest of the code is stored.
safecount_iframefix.subPos = safecount_iframefix.strSearch.indexOf("sub");
// Pull this parameter out where we can use it.
safecount_iframefix.strHTML = unescape(safecount_iframefix.strSearch.substr(safecount_iframefix.subPos+4, safecount_iframefix.strSearch.indexOf("&")-safecount_iframefix.subPos-4));
// Insert a script from the indicated server into the containing page.  Pass the parameters to this script.
self.document.write('<scr'+'ipt language="javascript" src="http://'+safecount_iframefix.strHTML+'.questionmarket.com/adscgen/dynamiclink.js.php'+safecount_iframefix.strSearch+'"></scr'+'ipt>');
