!! prepare link to check primarity. Language-independent.

len=!charcnt $checking

!! We are using several if's due to string length limit consideration.
!if $len<10 and $checking<500000
 out=$checking
 !exit
!endif

!if $checking iswordof $checked
 out=$checking
 !exit
!endif

!if $checking iswordof $certified
 out=$checking
 !exit
!endif

probable=yes

!if $len<=$big_digit
 out=<a href="$wims_ref_name?session=$session&cmd=reply&calc=check&check=$checking">$checking</a>
 !exit
!endif

bigprobable=yes
!if $len<140
 out=<a href="http://www.fsp.com/cgi-bin/xrunecppc.cgi?$checking" target=wims_external>$checking</a>
!else
 out=<a href="$wims_ref_name?session=$session&cmd=help&help_subject=bigcheck&special_parm=$checking">$checking</a>
!endif

