/* 
Hyperlink icons with CSS by Jonas Arnklint 
Documentation and examples:
http://github.com/arnklint/Hyperlink-icons-with-CSS
*/
.iconize a[href$='.doc'], .iconize a[href$='.rtf'],
.iconize a[href$='.txt'],
.iconize a[href$='.xls'],
.iconize a[href$='.rss'], .iconize a[href$='.atom'],
.iconize a[href$='.opml'],
.iconize a[href$='.phps'],
.iconize a[href$='.torrent'],
.iconize a[href$='.vcard'],
.iconize a[href$='.exe'],
.iconize a[href$='.dmg'], .iconize a[href$='.app'],
.iconize a[href$='.pps'],
.iconize a[href$='.pdf'],
.iconize a[href$='.xpi'],
.iconize a[href$='.fla'], .iconize a[href$='.swf'],
.iconize a[href$='.zip'], .iconize a[href$='.rar'], .iconize a[href$='.gzip'], .iconize a[href$='.bzip'], .iconize a[href$='.ace'] ,
.iconize a[href$='.ical'],
.iconize a[href$='.css'],
.iconize a[href$='.ttf'],
.iconize a[href$='.jpg'], .iconize a[href$='.gif'], .iconize a[href$='.png'], .iconize a[href$='.bmp'], .iconize a[href$='.jpeg'], .iconize a[href$='.svg'], .iconize a[href$='.eps'],
.iconize a[href$='.mov'], .iconize a[href$='.wmv'], .iconize a[href$='.mp4'], .iconize a[href$='.avi'], .iconize a[href$='.mpg'],
.iconize a[href$='.mp3'], .iconize a[href$='.wav'], .iconize a[href$='.ogg'], .iconize a[href$='.wma'], .iconize a[href$='.m4a'],
.iconize a[href ^="aim:"],
.iconize a[href ^="msnim:"],
.iconize a[href ^="xmpp:"],
.iconize a[href *="icq.com"],
.iconize a[href *="edit.yahoo.com/config/send_webmesg?"],
.iconize a[href ^="callto:"],
.iconize a[href ^="skype:"],
.iconize a[href ^="gg:"],
.iconize a[href ^="mailto:"] {
	padding: 5px 20px 5px 0;
	background-image: url(/images/sprite.gif);
	background-repeat: no-repeat;  
}

/* filändelser */
a[href$='.doc'], a[href$='.rtf'] {
  background-position: right -186px; 
}
a[href$='.txt'] {
  background-position: right -954px; 
}
a[href$='.xls'] {
  background-position: right -1018px; 
}
a[href$='.rss'], a[href$='.atom'] { 
  background-position: right -282px; 
}
a[href$='.opml'] { 
  background-position: right -602px; 
}
a[href$='.phps'] { 
  background-position: right -666px; 
}
a[href$='.torrent'] { 
  background-position: right -890px; 
}
a[href$='.vcard'] { 
  background-position: right -986px; 
}
a[href$='.exe'] { 
  background-position: right -218px; 
}
a[href$='.dmg'], a[href$='.app'] { 
  background-position: right -154px; 
}
a[href$='.pps'] { 
  background-position: right -794px; 
}
a[href$='.pdf'] { 
  background-position: right -634px; 
}
a[href$='.xpi'] { 
  background-position: right -730px; 
}
a[href$='.fla'], a[href$='.swf'] { 
  background-position: right -346px; 
}
a[href$='.zip'], a[href$='.rar'], a[href$='.gzip'], a[href$='.bzip'], a[href$='.ace'] { 
  background-position: right -26px; 
}
a[href$='.ical'] { 
  background-position: right -410px; 
}
a[href$='.css'] { 
  background-position: right -122px; 
}
a[href$='.ttf'] { 
  background-position: right -922px; 
}
a[href$='.jpg'], a[href$='.gif'], a[href$='.png'], a[href$='.bmp'], a[href$='.jpeg'], a[href$='.svg'], a[href$='.eps'] { 
  background-position: right -698px; 
}
a[href$='.mov'], a[href$='.wmv'], a[href$='.mp4'], a[href$='.avi'], a[href$='.mpg'] { 
  background-position: right -314px; 
}
a[href$='.mp3'], a[href$='.wav'], a[href$='.ogg'], a[href$='.wma'], a[href$='.m4a'] { 
  background-position: right -570px; 
}

/* messenger */
a[href ^="aim:"] {
  background-position: right 6px; 
}
a[href ^="msnim:"] {
  background-position: right -538px; 
}
a[href ^="xmpp:"] {
  background-position: right -474px; 
}
a[href *="icq.com"] { 
  background-position: right -442px; 
}
a[href *="edit.yahoo.com/config/send_webmesg?"] { 
  background-position: right -1050px; 
}
a[href ^="callto:"] {
  background-position: right -58px; 
}
a[href ^="skype:"] {
  background-position: right -858px; 
}
a[href ^="gg:"] {
  background-position: right -378px; 
}

/* email */
a[href ^="mailto:"] {
  background-position: right -506px; 
}

/* use this class to make sure that images you dont want to get an icon */
.imageLink {
	padding-right: 0px !important;
	background: none !important;
}