function goTop(){new Effect.ScrollTo('BodyFrame',{offset:0,duration:0.5});}//Test Ajax ##############################################################################################function TestAJAX(){	var msgbox = 'WebSiteMask';		var actionurl = siteurl+'/ap.htm?p=test_ajax';	var QString = '&value=12';		ajax =  new Ajax.Updater(msgbox,actionurl,{method:'post', postBody:QString, onComplete:function(){new Effect.Appear(msgbox,{duration:0.5});}, asynchronous:true, evalScripts:true});				};//end funcfunction Send(){	var msgbox = 'StatusBox';	var actionurl = siteurl+'/ap.htm?p=send';	var formbox = 'DELLForm';	if($('OrderNum').value.length == 0 || $('OrderNum').value.length < 5 )	{		$('OrderNum').focus();		$('OrderNum').style.backgroundColor = '#ffcc00';		$('OrderNum').style.border = '3px solid #f30';		goTo('OrderNum');		return false;	}else	{		$('OrderNum').style.backgroundColor = '';		$('OrderNum').style.border = '';	}//end if	if($('Name').value.length == 0 || $('Name').value.length < 2 )	{		$('Name').focus();		$('Name').style.backgroundColor = '#ffcc00';		$('Name').style.border = '3px solid #f30';		goTo('Name');		return false;	}else	{		$('Name').style.backgroundColor = '';		$('Name').style.border = '';	}//end if		if($('Tel').value.length == 0 || $('Tel').value.length < 5 )	{		$('Tel').focus();		$('Tel').style.backgroundColor = '#ffcc00';		$('Tel').style.border = '3px solid #f30';		goTo('Tel');		return false;	}else	{		$('Tel').style.backgroundColor = '';		$('Tel').style.border = '';	}//end if			if($('Email').value.length == 0 || $('Email').value.length < 8 )	{		$('Email').focus();		$('Email').style.backgroundColor = '#ffcc00';		$('Email').style.border = '3px solid #f30';		goTo('Email');		return false;	}else	{		$('Email').style.backgroundColor = '';		$('Email').style.border = '';	}//end if	if($('Amount').value.length == 0 || $('Amount').value.length < 1 )	{		$('Amount').focus();		$('Amount').style.backgroundColor = '#ffcc00';		$('Amount').style.border = '3px solid #f30';		goTo('Amount');		return false;	}else	{		$('Amount').style.backgroundColor = '';		$('Amount').style.border = '';	}//end if		if($('R3').value.length == 0 || $('R3').value.length < 1 )	{		$('R3').focus();		$('R3').style.backgroundColor = '#ffcc00';		$('R3').style.border = '3px solid #f30';		goTo('R3');		return false;	}else	{		$('R3').style.backgroundColor = '';		$('R3').style.border = '';	}//end if					new Effect.Appear(msgbox);	$(msgbox).innerHTML = '資料處理中...';		ajax =  new Ajax.Updater(msgbox,actionurl,{method:'post', parameters:Form.serialize(formbox), onComplete:function(){new Effect.Appear(msgbox);},asynchronous:true, evalScripts:true});						};//end funcfunction showContent(sn){	var msgbox = 'showContentBox';		var actionurl = siteurl+'/ap.htm?p=show';	var QString = '&BSN='+sn;		ajax =  new Ajax.Updater(msgbox,actionurl,{method:'post', postBody:QString, onComplete:function(){new Effect.Highlight(msgbox,{duration:1});}, asynchronous:true, evalScripts:true});				};//end func