var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150262&x=5524',
		'title': '',
		'imageId': '70150262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150263&x=5524',
		'title': '',
		'imageId': '70150263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150264&x=5524',
		'title': '',
		'imageId': '70150264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150265&x=5524',
		'title': '',
		'imageId': '70150265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150276&x=5524',
		'title': '',
		'imageId': '70150276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150279&x=5524',
		'title': '',
		'imageId': '70150279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150280&x=5524',
		'title': '',
		'imageId': '70150280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150282&x=5524',
		'title': '',
		'imageId': '70150282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150283&x=5524',
		'title': '',
		'imageId': '70150283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150284&x=5524',
		'title': '',
		'imageId': '70150284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150296&x=5524',
		'title': '',
		'imageId': '70150296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70104818&x=5524',
		'title': '',
		'imageId': '70104818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150299&x=5524',
		'title': '',
		'imageId': '70150299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150300&x=5524',
		'title': '',
		'imageId': '70150300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150301&x=5524',
		'title': '',
		'imageId': '70150301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150302&x=5524',
		'title': '',
		'imageId': '70150302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150308&x=5524',
		'title': '',
		'imageId': '70150308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150317&x=5524',
		'title': '',
		'imageId': '70150317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150316&x=5524',
		'title': '',
		'imageId': '70150316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150318&x=5524',
		'title': '',
		'imageId': '70150318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150319&x=5524',
		'title': '',
		'imageId': '70150319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150324&x=5524',
		'title': '',
		'imageId': '70150324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150326&x=5524',
		'title': '',
		'imageId': '70150326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150331&x=5524',
		'title': '',
		'imageId': '70150331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150320&x=5524',
		'title': '',
		'imageId': '70150320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70168719&x=5524',
		'title': '',
		'imageId': '70168719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70168721&x=5524',
		'title': '',
		'imageId': '70168721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70168722&x=5524',
		'title': '',
		'imageId': '70168722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70168720&x=5524',
		'title': '',
		'imageId': '70168720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150298&x=5524',
		'title': '',
		'imageId': '70150298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150260&x=5524',
		'title': '',
		'imageId': '70150260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015789&docid=70150261&x=5524',
		'title': '',
		'imageId': '70150261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015789';

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";
	})
}
