var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976599&docid=68562737&x=1920',
		'title': '',
		'imageId': '68562737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976599&docid=68562742&x=1920',
		'title': '',
		'imageId': '68562742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976599&docid=68562739&x=1920',
		'title': '',
		'imageId': '68562739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976599&docid=68562746&x=1920',
		'title': '',
		'imageId': '68562746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976599&docid=68562745&x=1920',
		'title': '',
		'imageId': '68562745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976599&docid=68562743&x=1920',
		'title': '',
		'imageId': '68562743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976599&docid=68562744&x=1920',
		'title': '',
		'imageId': '68562744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976599&docid=68562741&x=1920',
		'title': '',
		'imageId': '68562741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976599&docid=68562738&x=1920',
		'title': '',
		'imageId': '68562738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976599&docid=68562740&x=1920',
		'title': '',
		'imageId': '68562740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976599';

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