var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960729&docid=68830738&x=31',
		'title': '',
		'imageId': '68830738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960729&docid=68830739&x=31',
		'title': '',
		'imageId': '68830739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960729&docid=68830737&x=31',
		'title': '',
		'imageId': '68830737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960729&docid=68830740&x=31',
		'title': '',
		'imageId': '68830740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960729&docid=68830741&x=31',
		'title': '',
		'imageId': '68830741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960729&docid=68830742&x=31',
		'title': '',
		'imageId': '68830742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960729&docid=68830743&x=31',
		'title': '',
		'imageId': '68830743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960729&docid=68830745&x=31',
		'title': '',
		'imageId': '68830745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960729&docid=68830746&x=31',
		'title': '',
		'imageId': '68830746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960729&docid=68830744&x=31',
		'title': '',
		'imageId': '68830744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960729&docid=68830805&x=31',
		'title': '',
		'imageId': '68830805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960729';

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