var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186223&x=2929',
		'title': '',
		'imageId': '68186223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186224&x=2929',
		'title': '',
		'imageId': '68186224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186225&x=2929',
		'title': '',
		'imageId': '68186225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186226&x=2929',
		'title': '',
		'imageId': '68186226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186227&x=2929',
		'title': '',
		'imageId': '68186227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186228&x=2929',
		'title': '',
		'imageId': '68186228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186229&x=2929',
		'title': '',
		'imageId': '68186229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186230&x=2929',
		'title': '',
		'imageId': '68186230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186231&x=2929',
		'title': '',
		'imageId': '68186231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186232&x=2929',
		'title': '',
		'imageId': '68186232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186233&x=2929',
		'title': '',
		'imageId': '68186233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186234&x=2929',
		'title': '',
		'imageId': '68186234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186235&x=2929',
		'title': '',
		'imageId': '68186235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186236&x=2929',
		'title': '',
		'imageId': '68186236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186237&x=2929',
		'title': '',
		'imageId': '68186237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186238&x=2929',
		'title': '',
		'imageId': '68186238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186239&x=2929',
		'title': '',
		'imageId': '68186239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186240&x=2929',
		'title': '',
		'imageId': '68186240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186245&x=2929',
		'title': '',
		'imageId': '68186245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186242&x=2929',
		'title': '',
		'imageId': '68186242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186243&x=2929',
		'title': '',
		'imageId': '68186243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186244&x=2929',
		'title': '',
		'imageId': '68186244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932406&docid=68186241&x=2929',
		'title': '',
		'imageId': '68186241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932406';

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