var newwin;

function newWindow(url){
	newwin=window.open(url,'name','height=600,width=400,resizable=1, scrollbars=1, left=25, top=25');
	if (window.focus) {newwin.focus()}
}

function newWindowsml(url){
	newwin=window.open(url,'name','height=400,width=400,resizable=1, scrollbars=1, left=25, top=25');
	if (window.focus) {newwin.focus()}
}

function life2vis(choice,id){
	if(document.getElementById){ // DOM3 = IE5, NS6
		if(document.getElementById(choice).value == 'J')
			document.getElementById(id).style.display = 'block';
		else
			document.getElementById(id).style.display = 'none';
	}
	else{
		if(document.layers){ // Netscape 4
			if(document.choice.value == 'J')
				document.id.display = 'block';
			else
				document.id.display = 'none';
		}
		else{ // IE 4
			if(document.all.choice.value == 'J')
				document.all.id.style.display = 'block';
			else
				document.all.id.style.display = 'none';
		}
	}
}

function coverchange(choice,id,id2,id3){
	if(document.getElementById){ // DOM3 = IE5, NS6
		if(document.getElementById(choice).value=='MPPI'){
			document.getElementById(id).style.display = 'block';
			document.getElementById(id2).style.display = 'none';
			document.getElementById(id3).style.display = 'none';
		}else if(document.getElementById(choice).value=='LPPI'){
			document.getElementById(id).style.display = 'none';
			document.getElementById(id2).style.display = 'block';
			document.getElementById(id3).style.display = 'none';
		}else if(document.getElementById(choice).value=='IPPI'){
			document.getElementById(id).style.display = 'none';
			document.getElementById(id2).style.display = 'none';
			document.getElementById(id3).style.display = 'block';
		}else{
			document.getElementById(id).style.display = 'none';
			document.getElementById(id2).style.display = 'none';
			document.getElementById(id3).style.display = 'none';
		}
	}
	else{
		if(document.layers){ // Netscape 4
			if(document.choice.value=='MPPI'){
				document.id.display = 'block';
				document.id2.display = 'none';
				document.id3.display = 'none';
			}
			else if(document.choice.value=='LPPI'){
				document.id.display = 'none';
				document.id2.display = 'block';
				document.id3.display = 'none';				
			}else if(document.choice.value=='IPPI'){			
				document.id.display = 'none';
				document.id2.display = 'none';
				document.id3.display = 'block';	
			}else{			
				document.id.display = 'none';
				document.id2.display = 'none';
				document.id3.display = 'none';	
			}
		}
		else{ // IE 4
			if(document.all.choice.value=='MPPI'){
				document.all.id.display = 'block';
				document.all.id2.display = 'none';
				document.all.id3.display = 'none';
			}
			else if(document.all.choice.value=='LPPI'){
				document.all.id.style.display = 'none';
				document.all.id2.style.display = 'block';
				document.all.id3.style.display = 'none';				
			}else if(document.all.choice.value=='IPPI'){			
				document.all.id.style.display = 'none';
				document.all.id2.style.display = 'none';
				document.all.id3.style.display = 'block';	
			}else{			
				document.all.id.style.display = 'none';
				document.all.id2.style.display = 'none';
				document.all.id3.style.display = 'none';	
			}				
		}
	}
}


function occvis(choice,id){
	if(document.getElementById){ // DOM3 = IE5, NS6
		if(document.getElementById(choice).value=='Full Time Employed' || document.getElementById(choice).value=='Part Time Employed' 
		|| document.getElementById(choice).value=='Contract Worker' || document.getElementById(choice).value=='Self-Employed')
			document.getElementById(id).style.display = 'block';
		else
			document.getElementById(id).style.display = 'none';
	}
	else{
		if(document.layers){ // Netscape 4
			if(document.choice.value=='Full Time Employed' || document.choice.value=='Part Time Employed' 
			|| document.choice.value=='Contract Worker' || document.choice.value=='Self-Employed')
				document.id.display = 'block';
			else
				document.id.display = 'none';
		}
		else{ // IE 4
			if(document.all.choice.value=='Full Time Employed' || document.all.choice.value=='Part Time Employed' 
			|| document.all.choice.value=='Contract Worker' || document.all.choice.value=='Self-Employed')
				document.all.id.style.display = 'block';
			else
				document.all.id.style.display = 'none';
		}
	}
}

function startvis(id, stat){
	if(document.getElementById){ // DOM3 = IE5, NS6
		if(stat=='show')
			document.getElementById(id).style.display = 'inline';
		else
			document.getElementById(id).style.display = 'none';
	}
	else{
		if(document.layers){ // Netscape 4
			if(stat=='show')
				document.id.display = 'inline';
			else
				document.id.display = 'none';
		}
		else{ // IE 4
			if(stat=='show')
				document.all.id.style.display = 'inline';
			else
				document.all.id.style.display = 'none';
		}
	}
}

				function Social_Load() { 
var d=document; if(d.images){ if(!d.Social) d.Social=new Array();
var i,j=d.Social.length,a=Social_Load.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.Social[j]=new Image; d.Social[j++].src=a[i];}}
}
Social_Load('/images/bookmarks/wong_trans_ani.gif','/images/bookmarks/webnews_trans_ani.gif','/images/bookmarks/icio_trans_ani.gif','/images/bookmarks/oneview_trans_ani.gif','/images/bookmarks/folkd_trans_ani.gif','/images/bookmarks/yigg_trans_ani.gif','/images/bookmarks/linkarena_trans_ani.gif','/images/bookmarks/digg_trans_ani.gif','/images/bookmarks/del_trans_ani.gif','/images/bookmarks/reddit_trans_ani.gif','/images/bookmarks/simpy_trans_ani.gif','/images/bookmarks/stumbleupon_trans_ani.gif','/images/bookmarks/slashdot_trans_ani.gif','/images/bookmarks/netscape_trans_ani.gif','/images/bookmarks/furl_trans_ani.gif','/images/bookmarks/yahoo_trans_ani.gif','/images/bookmarks/spurl_trans_ani.gif','/images/bookmarks/google_trans_ani.gif','/images/bookmarks/blinklist_trans_ani.gif','/images/bookmarks/blogmarks_trans_ani.gif','/images/bookmarks/diigo_trans_ani.gif','/images/bookmarks/technorati_trans_ani.gif','/images/bookmarks/newsvine_trans_ani.gif','/images/bookmarks/blinkbits_trans_ani.gif','/images/bookmarks/ma.gnolia_trans_ani.gif','/images/bookmarks/smarking_trans_ani.gif','/images/bookmarks/netvouz_trans_ani.gif','/images/bookmarks/what_trans_ani.gif','')
function tquki() { 
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function tquku(n, d) { 
  var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
  d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=tquku(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
  }
function tquka() { 
  var i,j=0,x,a=tquka.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  if ((x=tquku(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
  }
/***********************************************
* End of Social Bookmark Script
***********************************************/


function selecturl(s) 
 
{
 
  var gourl = s.options[s.selectedIndex].value;
 
 
 
  if ((gourl != null) && (gourl != "") )
 
  {
 
    window.top.location.href = gourl;
 
  }
 
}