var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173750&x=5037',
		'title': '',
		'imageId': '60173750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173730&x=5037',
		'title': '',
		'imageId': '60173730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173727&x=5037',
		'title': '',
		'imageId': '60173727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173749&x=5037',
		'title': '',
		'imageId': '60173749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173744&x=5037',
		'title': '',
		'imageId': '60173744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173736&x=5037',
		'title': '',
		'imageId': '60173736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173742&x=5037',
		'title': '',
		'imageId': '60173742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173738&x=5037',
		'title': '',
		'imageId': '60173738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173740&x=5037',
		'title': '',
		'imageId': '60173740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173729&x=5037',
		'title': '',
		'imageId': '60173729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173746&x=5037',
		'title': '',
		'imageId': '60173746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173741&x=5037',
		'title': '',
		'imageId': '60173741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173739&x=5037',
		'title': '',
		'imageId': '60173739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173728&x=5037',
		'title': '',
		'imageId': '60173728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173726&x=5037',
		'title': '',
		'imageId': '60173726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173745&x=5037',
		'title': '',
		'imageId': '60173745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173747&x=5037',
		'title': '',
		'imageId': '60173747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173725&x=5037',
		'title': '',
		'imageId': '60173725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173734&x=5037',
		'title': '',
		'imageId': '60173734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173737&x=5037',
		'title': '',
		'imageId': '60173737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173735&x=5037',
		'title': '',
		'imageId': '60173735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173748&x=5037',
		'title': '',
		'imageId': '60173748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922192&docid=60173731&x=5037',
		'title': '',
		'imageId': '60173731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922192';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
