var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925752&x=2923',
		'title': '',
		'imageId': '67925752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925741&x=2923',
		'title': '',
		'imageId': '67925741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925742&x=2923',
		'title': '',
		'imageId': '67925742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925751&x=2923',
		'title': '',
		'imageId': '67925751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925750&x=2923',
		'title': '',
		'imageId': '67925750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67952150&x=2923',
		'title': '',
		'imageId': '67952150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925748&x=2923',
		'title': '',
		'imageId': '67925748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925745&x=2923',
		'title': '',
		'imageId': '67925745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925747&x=2923',
		'title': '',
		'imageId': '67925747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925743&x=2923',
		'title': '',
		'imageId': '67925743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67929381&x=2923',
		'title': '',
		'imageId': '67929381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925746&x=2923',
		'title': '',
		'imageId': '67925746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925749&x=2923',
		'title': '',
		'imageId': '67925749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67925744&x=2923',
		'title': '',
		'imageId': '67925744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=67929383&x=2923',
		'title': '',
		'imageId': '67929383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=68011435&x=2923',
		'title': '',
		'imageId': '68011435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=68011434&x=2923',
		'title': '',
		'imageId': '68011434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=68069415&x=2923',
		'title': '',
		'imageId': '68069415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=68069410&x=2923',
		'title': '',
		'imageId': '68069410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=68069413&x=2923',
		'title': '',
		'imageId': '68069413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=68069412&x=2923',
		'title': '',
		'imageId': '68069412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=68069411&x=2923',
		'title': '',
		'imageId': '68069411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920610&docid=68069414&x=2923',
		'title': '',
		'imageId': '68069414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920610';

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