    function LoadFile(fsrc)
{
    document.write("<scr"+"ipt src='"+fsrc+"'></scr"+"ipt>");
}
// RPG Page?
if(location.href.match(/UserCP&CODE=22&Shacker=(.*)/))
{
    Page = RegExp.$1;
    BuildRPGMenu();
    BuildRPGDisplay("Shopping Store", "Please wait for a moment...");
    RPGData = document.forms['REPLIER'].rpgdata.value;

    function ReBuildData(news)
	{
	    document.forms['REPLIER'].rpgdata.value = news;
	    sigSubmit();
	}

    switch(Page)
	{
	case 'Shop':
	    LoadFile("http://ishopping.50webs.com/05/shop.ibf");
	    break;
	case 'Donate':
	    LoadFile("http://www.texasregion.net/js/donation.js");
	    break;
	case 'Bank':
	    LoadFile("http://ishopping.50webs.com/05/bank.ibf");
	    break;
	default:
	    LoadFile("http://ishopping.50webs.com/05/text.ibf");
	    break;
	}
}
// Post Pages
if((location.href.match(/act=Post&CODE=(\d+)/) || (location.href.match(/showtopic=(\d+)/) && document.getElementById('qr_open'))) && document.forms['REPLIER'])
{
    LoadFile("http://ishopping.50webs.com/05/money.ibf");
}
// PM View (Donation/Battle Attack)?
if(location.href.match(/act=Msg&CODE=(\d+)&VID=in&MSID=(\d+)/))
{
    LoadFile("http://www.texasregion.net/js/donation.js");
}
