var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949228&docid=68567508&x=4039',
		'title': '',
		'imageId': '68567508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949228&docid=68567510&x=4039',
		'title': '',
		'imageId': '68567510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949228&docid=68567511&x=4039',
		'title': '',
		'imageId': '68567511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949228&docid=68567513&x=4039',
		'title': '',
		'imageId': '68567513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949228&docid=68567514&x=4039',
		'title': '',
		'imageId': '68567514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949228&docid=68567515&x=4039',
		'title': '',
		'imageId': '68567515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949228&docid=68567516&x=4039',
		'title': '',
		'imageId': '68567516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949228&docid=68567512&x=4039',
		'title': '',
		'imageId': '68567512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949228&docid=68567507&x=4039',
		'title': '',
		'imageId': '68567507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949228&docid=68567517&x=4039',
		'title': '',
		'imageId': '68567517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949228';

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