var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014638&docid=68898959&x=299',
		'title': '',
		'imageId': '68898959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014638&docid=68898961&x=299',
		'title': '',
		'imageId': '68898961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014638&docid=68898954&x=299',
		'title': '',
		'imageId': '68898954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014638&docid=68898955&x=299',
		'title': '',
		'imageId': '68898955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014638&docid=68898956&x=299',
		'title': '',
		'imageId': '68898956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014638&docid=68898953&x=299',
		'title': '',
		'imageId': '68898953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014638&docid=68898957&x=299',
		'title': '',
		'imageId': '68898957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014638&docid=68898962&x=299',
		'title': '',
		'imageId': '68898962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014638&docid=68898960&x=299',
		'title': '',
		'imageId': '68898960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014638&docid=68898958&x=299',
		'title': '',
		'imageId': '68898958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014638';

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