var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405807&x=02',
		'title': '',
		'imageId': '68405807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405785&x=02',
		'title': '',
		'imageId': '68405785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405805&x=02',
		'title': '',
		'imageId': '68405805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405800&x=02',
		'title': '',
		'imageId': '68405800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405797&x=02',
		'title': '',
		'imageId': '68405797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405788&x=02',
		'title': '',
		'imageId': '68405788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405784&x=02',
		'title': '',
		'imageId': '68405784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405791&x=02',
		'title': '',
		'imageId': '68405791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405806&x=02',
		'title': '',
		'imageId': '68405806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405796&x=02',
		'title': '',
		'imageId': '68405796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405804&x=02',
		'title': '',
		'imageId': '68405804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405787&x=02',
		'title': '',
		'imageId': '68405787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405794&x=02',
		'title': '',
		'imageId': '68405794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405786&x=02',
		'title': '',
		'imageId': '68405786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405793&x=02',
		'title': '',
		'imageId': '68405793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405790&x=02',
		'title': '',
		'imageId': '68405790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405799&x=02',
		'title': '',
		'imageId': '68405799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405802&x=02',
		'title': '',
		'imageId': '68405802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405803&x=02',
		'title': '',
		'imageId': '68405803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405795&x=02',
		'title': '',
		'imageId': '68405795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405789&x=02',
		'title': '',
		'imageId': '68405789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405792&x=02',
		'title': '',
		'imageId': '68405792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405798&x=02',
		'title': '',
		'imageId': '68405798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942602&docid=68405801&x=02',
		'title': '',
		'imageId': '68405801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3942602';

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