﻿// JScript File
<!--//
/*
toggleField()
Param: obj object - This is the form field that calls this function
Param: val string - This is the string that is matched against the contents of the form field.
This function clears a targeted form field.
*/
function toggleField(obj,val)
{
    if(obj.value == val)
    {
	    obj.value = "";
    }
    else if(obj.value == "")
    {
	    obj.value = val;
    }
}
/**/
function swapImage(obj,val)
{
    if(document.images){
        obj.src = val;
    }
}
//-->

$j(function() {
/*	var windowHeight = $j(window).height();
    $j("img.taiwanMsg").css({
        position: "absolute",
        top: 0,
        left: 0,
        display: "block",
    });

	$j("img.taiwanMsg").css("height", windowHeight + "px");

    $j(window).scroll(function() {
        var topPos = $j(window).scrollTop();
        
        $j("img.taiwanMsg").css({
            top: topPos + "px"
        });
       alert($j(window).scrollTop());
    });
	*/
});