function jpopups(type,action) {

   if (type == 'fishes') { document.jchat.processJInput('/me Tosses %$HN in the river12¸.·´¯`·.¸¸.·´¯`9><((((º>12¸.·´¯`·.¸9><((((º>4 FISH BAIT9<º))))><12.·´¯`·.¸¸.·´¯`·.¸9><((((º>4HERE FISHIES9<º))))><12.·´¯`·.¸¸.·´¯`·.¸9><((((º>4FISHIE BAIT9<º))))><'); }
    if (type == 'mice1') { document.jchat.processJInput('/me Screams WatCh Out!!! Mousey Attack!!!!!!! 9 <:3 )~~~~ 12 <:3 )~~~~ 8 <:3 )~~~~ 13 <:3 )~~~~ 11 <:3 )~~~~'); }
    if (type == 'mice2') { document.jchat.processJinput('/me 8,12 <:3 )~~~~  13,12 <:3 )~~~~ 9,12 <:3 )~~~~  4,12 %$HN  11,12 <:3 )~~~~  9,12 <:3 )~~~~  13,12 <:3 )~~~~'); }
     if (type == 'rats') { document.jchat.processjinput(' 12"Rats! Rats! Rats"! 9,12(Translation for the reading impaired):  13,5~~(¸¸ ¸¸ºº>  12,5~~(¸¸ ¸¸ºº>  13,5~~(¸¸ ¸¸ºº> '); }
  if (type =='piranhas') { document.jchat.processJInput('/me Pushes %$HN Into A Pool Of Piranhas... 9 <`)))))>< 12SPLaSH!!!!!!! 9 <`)))))><'); }
if (type =='mousechase') { document.jchat.processJInput('/me chases  a Mouse!!!!!! 9 <:3 )~~~~   12 Yummy!!!   9 <:3 )~~~~  '); }
if (type =='fisharound') { document.jchat.processJInput('/me likes to fish around with %$HN ,.... 4<º))))><¸.·´¯`·.¸1<º))))><¸.·´¯`·.¸2<º))))><¸3<º))))><¸.·´¯`·.¸'); }
  if (type =='dirtyrat') { document.jchat.processJInput('/me 13says %$HN you dirty 9,1"Rat! Rat!Rat!13~~(¸¸ ¸¸ºº> 6~~(¸¸ ¸¸ºº> 10~~(¸¸ ¸¸ºº> '); } 
     if (type=='greet1') { document.jchat.processJInput('/me 9,1  ©º°¨¨°º©©º°¨¨°º©[  13,1 %$HN  9,1 ]©º°¨¨°º©©º°¨¨°º©'); }
     if (type=='greet2') { document.jchat.processJInput('/me 12 !4*12!4*12!4*12!4*12!4*12!4*12!9 %$HN 12 !4*12!4*12!4*12!4*12!4*12!4*12!4*12!'); }
     if (type=='greet3') { document.jchat.processJInput('/me 0,12jumps up and down, throws confetti in the air and yells4,12 YIPPIE,0,12 Look who is here!!9,12 %$HN 4,12*`;.`~;`~`* `;.9,12 %$HN  4,12`;.~`;.*`;.`~;`~`* `;. '); }  
     if (type=='greet4') { document.jchat.processJInput('/me 13,9§§§§§§§§§§§9,13 %$HN 13,9§§§§§§§§§' ); }
     if (type=='greet5') { document.jchat.processJInput('11,2!_.+*`^`*+._13,2  %$HN  11,2_.+*`^`*+._!');}
     if (type=='greet6') { document.jchat.processJInput(' 8,2  (¯`·.¸¸.·´¯`·.¸¸.->12,2  %$HN 8,2 <-.¸¸.·´¯`·.¸¸.·´¯) '); } 
     if (type=='greet7') { document.jchat.processJInput('/me 8,12 sprinkles glitter all over %$HN4,12 ¯°¹ª°¯°¹ª°¯°¹ª°¯°¹ª°¯°¹8,12 %$HN 4,12ª°¯°¹ª°¯°¹ª°¯°¹ª°¯°¹ª°¯°¹8,12 %$HN 4,12ª°¯°¹ª°¯°¹ª°¯° ¹ª°¯°¹ª°¯°¹ '); }
     if (type=='greet8') { document.jchat.processJInput('/me 9,12 ~~~~{{12,9¤%`~¤%~`¤%`{{ 9,12 %$HN 12,9 }}`%¤`~%¤~`%¤9,12}}~~~~'); }
     if (type=='greet9') { document.jchat.processJInput('/me 4,1 waves 12,1to 13,1¤°`°12,1¤ø,¸¸¸,4,1ø¤°`9,1°¤ø,2,1¸¸¸,ø13,1¤° 8,1 %$HN 4,1 ¤°`3,1°¤ø6,1,¸¸¸12,1ø¤10,1°`°¤ø8,1,¸¸¸,ø4,1¤°` °¤11,1ø,¸¸¸,9,1ø¤'); }
        if (type=='hug') { document.jchat.processJInput('Hiya   ,.-*^*-.((( %$HN ))),.-*^*-.,   Hugs!!    ~@¿@~ '); }
  if (type=='100s1000s') { document.jchat.processJInput('/me chucks 100s and 1,000s everywhere 4•• 3•• 2•• 13•• 12•• 7•• 9•• 10•• 3•• 9•• 1•• 10•• 6•• 8•• 3•• 11•• 4•• 3•• 0•• 13•• 12•• 6•• 8•• 7•• 6•• 12•• 2•• 13•• 12•• 7•• 3•• 10•• 8•• 13•• 6•• 10•• 9•• 4•• 9•• 11•• 10•• 0•• 2•• 1•• 9•• 7•• 9•• 4•• 3•• 11•• 7•• 11•• 1•• 0•• 9•• 10•• ');}
      if (type=='fairy') { document.jchat.processJInput('/me chucks fairy dust over %$HN 2*34:56,7`8;9*10`11,12~13;15`0 *2*4:56,7`8;9*10`11,12~13;15`0 *2*4:6,7`8;9*10`11,12~13;15`0 *2*4:6,7`8;9*10`11,12~13;15`0 '); }
     if (type=='banana') { document.jchat.processJInput(' 8,1~1,8~8,1~1,8~8,1~1,8~8,1~1,8~8,1~1,8~8,1 Cool Bananas!!! 1,8~8,1~1,8~8,1~1,8~8,1~1,8~8,1~1,8~8,1~ '); }
      if (type=='crazy') { document.jchat.processJInput(' 1and %$HN 4are 12,1¸,ø¤°`°º.,¸¸,.º12,1C1,12R12,1A1,12Z12,1Y1,12!12,1!1,12ø,¸¸,ø¤°`°º.,¸' ); }
       if (type=='stoy') { document.jchat.processJInput(' 12¥ðû WÄÑñà ßé My §êx Tò¥ ??? 4 %$HN 12¥ðû WÄÑñà ßé My §êx Tò¥ ??? ' ); }
       if (type=='brat') { document.jchat.processJInput('/me 11,12I am not a brat!13,12 am not... am not... am not 11,12Þ '); }
     if (type=='toykid') { document.jchat.processJInput('/me 13,9says %$HN is a Toys R Us kid!!!12,9Dont want to grow up! '); }
     if (type=='litter') { document.jchat.processJInput('/me sprinkles Cat Litter all over 0,1 *^~*-,._.,-*~,-*-,._.,-*^~*-,._.,-*~> %$HN <~*^~*-,._.,-*~,-*-,._.,-*^~*-,._.,-*~ Think Happy Thoughts :)' ); }
     if (type=='hammer') { document.jchat.processJInput('/me hits %$HN over the head with a Big hammer 12 ====[]  4 Bang!!! 12 ====[] '); } 
       if (type=='grin') { document.jchat.processJInput('/me grins at %$HN wickedly!'); }
      if (type=='river') { document.jchat.processJInput('/me tosses %$HN in da river ¸.·´¯`·.¸.·´¯`·.¸¸.·´¯`·.¸ ><((((º>  %$HN <º))))><'); }
      if (type=='glue1') { document.jchat.processJInput('/me 3spills 1,1.15,15-- 4,15Krazy Glue15,15--1,1.4 3all over %$HN !!'); }
      if (type=='glue2') { document.jchat.processJInput('/me 12puts 1,1.15,15-- 4,15Krazy Glue15,15--1,1.4 12on %$HN Lips ! '); }
     if (type =='empty') { document.jchat.processJInput('/me 4is running on 0,1 E4\0---------F '); }
    if (type=='bandaid') { document.jchat.processJInput('/me hands %$HN a bandaid  13(:::| |:::) for their pinky '); }
  if (type=='fireworks') { document.jchat.processJInput('/me shoots fireworks for %$HN 4*10~11~13~14~8~7|4#5#6#3#2#> `;:*,.,*:;` %$HN 12*4*10~11~13~14~8~7|4#5#6#3#2#> `;:*,.,*:;` %$HN 3*4*10~11~13~14~8~7|4#5#6#3#2#> `;:*,.,*:;` %$HN 4*4*10~11~13~14~8~7|4#5#6#3#2#> `;:*,.,*:;` '); }
     if (type=='bender') { document.jchat.processJInput(' hey %$HN You can bite my shiney metal ass!   :) '); }

}