function goto(url) 
{ 
	//window.location.href(url);
	location.href=url;
}

function popUpGoto(url,width,height)
{
	if(!width) width=500;
	if(!height) height=500;
	window.open(url,'name',width,height);
}

function display(obj,id1,id2,id3,id4,id5,id6,ptp_id) 
{
	txt = obj.options[obj.selectedIndex].value;
	document.getElementById(id1).style.display = 'none';
	document.getElementById(id2).style.display = 'none';
	document.getElementById(id3).style.display = 'none';
	document.getElementById(id4).style.display = 'none';
	document.getElementById(id5).style.display = 'none';
	document.getElementById(id6).style.display = 'none';

	if ( txt.match(id1) ) 
	{
		document.getElementById(id1).style.display = 'block';
	}
	if ( txt.match(id2) ) 
	{
		document.getElementById(id2).style.display = 'block';
	}
	if ( txt.match(id3) ) 
	{
		document.getElementById(id3).style.display = 'block';
	}
	if ( txt.match(id4) ) 
	{
		document.getElementById(id4).style.display = 'block';
	}
	if ( txt.match(id5) ) 
	{
		document.getElementById(id5).style.display = 'block';
	}
	if ( txt.match(id6) ) 
	{
		document.location.href ="pp_member_paysetup_cikimunki.php?method="+id6;
		//document.getElementById(id6).style.display = 'block';
	}
}

var resetRolls = new Object();

function resetimage(src)
{
this.src=src;
this.confirm=true;
this.alt="Reset";
this.write=resetimage_write;
}

function resetimage_write()
{
document.write('<A ');
if (this.rollover)
    {
    if (! this.name)
        {
        alert('to create a rollover you must give the image a name');
        return;
        }

    resetRolls[this.name] = new Object();
    resetRolls[this.name].over = new Image();
    resetRolls[this.name].over.src=this.rollover;
    resetRolls[this.name].out = new Image();
    resetRolls[this.name].out.src=this.src;
    document.write(
        ' onMouseOver="if (document.images)document.images[\'' + 
        this.name + '\'].src=resetRolls[\'' + this.name + '\'].over.src"' + 
        ' onMouseOut="if (document.images)document.images[\'' + 
        this.name + '\'].src=resetRolls[\'' + this.name + '\'].out.src"'
        );
    }
document.write(' HREF="javascript:');
if (this.confirm)
    document.write('if(confirm(\'Are you sure you want to reset?\'))');
document.write(
    'document.forms[' + 
    (document.forms.length - 1) + '].reset();void(0);">');
document.write('<IMG SRC="' + this.src + '" ALT="' + this.alt + '"');
document.write(' BORDER=0');
if (this.name)document.write(' NAME="' + this.name + '"');
if (this.height)document.write(' HEIGHT=' + this.height);
if (this.width)document.write(' WIDTH=' + this.width);
if (this.otheratts)document.write(' '+ this.otheratts);
document.write('></A>');
}

//LIGHTBOX FOR CIKIMUNKI BANNER
function lightbox()
{
	document.getElementById('light').style.display='block';
	document.getElementById('fade').style.display='block'
}