js/jqte/uncompressed/jquery-te-1.4.0.js
function linkInputSet(thisHrefLink)
			{
				var currentType = linktypes.data("linktype");
				
				// if selected type of e-mail
				if(currentType=="1" && (linkinput.val()=="http://" || linkinput.is("[value^=http://]") || !linkinput.is("[value^=mailto]"))) 
					linkinput.val("mailto:");
				else if(currentType!="1" && !linkinput.is("[value^=http://]"))
						linkinput.val("http://");
				else
					linkinput.val(thisHrefLink);
			}
function linkInputSet(thisHrefLink)
			{
				var currentType = linktypes.data("linktype");
				
				// if selected type of e-mail
				if(currentType=="1" && (linkinput.val()=="http://" || linkinput.is("[value^=http://]") || !linkinput.is("[value^=mailto]"))) 
					linkinput.val("mailto:");
				else if(currentType!="1" && !linkinput.is("[value^=http://]"))
						linkinput.val("http://");
				else
					linkinput.val(thisHrefLink);
			}
function linkInputSet ( thisHrefLink ) { var currentType = linktypes . data ( "linktype" ) ; // if selected type of e-mail
 if ( currentType == "1" && ( linkinput . val ( ) == "http://" || linkinput . is ( "[value^=http://]" ) || ! linkinput . is ( "[value^=mailto]" ) ) ) linkinput . val ( "mailto:" ) ; else if ( currentType != "1" && ! linkinput . is ( "[value^=http://]" ) ) linkinput . val ( "http://" ) ; else linkinput . val ( thisHrefLink ) ; }
the function of updating the link-input according to the link-type
the function of updating the link - input according to the link - type