/* Automatic Icons CSS Document */

/* Created by Graeme Attkins, Frecosse Website Design */
/* Last updated, and © Copyright, October 2008        */
/* Visit my website for more tips: www.frecosse.com   */

/* SET-UP AUTOMATIC ICON FOR LINKS THAT OPEN IN NEW WINDOWS */

a[target $='_blank'] {
	padding-right:20px;
	background: transparent url(icons/newWin.gif) no-repeat center right;
}

/* SET-UP AUTOMATIC ICON FOR E-MAIL LINKS */

a[href^="mailto:"] { 
	padding-right:20px;
	background: transparent url(icons/mail.gif) no-repeat center right;
}

/* SET-UP AUTOMATIC ICON FOR FILETYPES */

a[href$='.avi'] {
	padding-right:20px;
	background: transparent url(icons/avi.gif) no-repeat center right;
}

a[href$='.dmg'] {
	padding-right:20px;
	background: transparent url(icons/dmg.gif) no-repeat center right;
}

a[href$='.doc'],
a[href$='.docx'] {
	padding-right:20px;
	background: transparent url(icons/doc.gif) no-repeat center right;
}

a[href$='.exe'] {
	padding-right:20px;
	background: transparent url(icons/exe.gif) no-repeat center right;
}

a[href$='.fla'],
a[href$='.flv'],
a[href$='.swf'] {
	padding-right:20px;
	background: transparent url(icons/fla.gif) no-repeat center right;
}

a[href$='.gif'],
a[href$='.jpg'],
a[href$='.jpeg'],
a[href$='.png'] {
	padding-right:20px;
	background: transparent url(icons/gif.gif) no-repeat center right;
}

a[href$='.mov'] {
	padding-right:20px;
	background: transparent url(icons/mov.gif) no-repeat center right;
}

a[href$='.mp3'],
a[href$='.wav'] {
	padding-right:20px;
	background: transparent url(icons/mp3.gif) no-repeat center right;
}

a[href$='.mpg'],
a[href$='.mpeg'],
a[href$='.wmv'] {
	padding-right:20px;
	background: transparent url(icons/mpg.gif) no-repeat center right;
}

a[href$='.pdf'] {
	padding-right:20px;
	background: transparent url(icons/pdf.gif) no-repeat center right;
}

a[href$='.ppt'],
a[href$='.pptx'] {
	padding-right:20px;
	background: transparent url(icons/ppt.gif) no-repeat center right;
}

a[href$='.qt'],
a[href$='.qtvr'] {
	padding-right:20px;
	background: transparent url(icons/qt.gif) no-repeat center right;
}

a[href$='.ra'], /* NOTE ORDER - RA FORMS PART OF 'RAR' (Next Icon), so we need to check for this first, then for RARs */
a[href$='.rm'],
a[href$='.ram'] {
	padding-right:20px;
	background: transparent url(icons/real.gif) no-repeat center right;
}

a[href$='.rar'] {
	padding-right:20px;
	background: transparent url(icons/rar.gif) no-repeat center right;
}

a[href$='.rss'] {
	padding-right:20px;
	background: transparent url(icons/rss.gif) no-repeat center right;
}

a[href$='.rtf'] {
	padding-right:20px;
	background: transparent url(icons/rtf.gif) no-repeat center right;
}

a[href$='.sit'] {
	padding-right:20px;
	background: transparent url(icons/sit.gif) no-repeat center right;
}

a[href$='.txt'] {
	padding-right:20px;
	background: transparent url(icons/txt.gif) no-repeat center right;
}

a[href$='.xls'],
a[href$='.xlsx'] {
	padding-right:20px;
	background: transparent url(icons/xls.gif) no-repeat center right;
}

a[href$='.xml'] {
	padding-right:20px;
	background: transparent url(icons/xml.gif) no-repeat center right;
}

a[href$='.zip'] {
	padding-right:20px;
	background: transparent url(icons/zip.gif) no-repeat center right;
}
