var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276386&x=505',
		'title': '',
		'imageId': '69276386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276390&x=505',
		'title': '',
		'imageId': '69276390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276394&x=505',
		'title': '',
		'imageId': '69276394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276382&x=505',
		'title': '',
		'imageId': '69276382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276380&x=505',
		'title': '',
		'imageId': '69276380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276393&x=505',
		'title': '',
		'imageId': '69276393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276395&x=505',
		'title': '',
		'imageId': '69276395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276392&x=505',
		'title': '',
		'imageId': '69276392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276389&x=505',
		'title': '',
		'imageId': '69276389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276383&x=505',
		'title': '',
		'imageId': '69276383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276391&x=505',
		'title': '',
		'imageId': '69276391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276378&x=505',
		'title': '',
		'imageId': '69276378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276388&x=505',
		'title': '',
		'imageId': '69276388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276387&x=505',
		'title': '',
		'imageId': '69276387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276396&x=505',
		'title': '',
		'imageId': '69276396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276385&x=505',
		'title': '',
		'imageId': '69276385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276379&x=505',
		'title': '',
		'imageId': '69276379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276398&x=505',
		'title': '',
		'imageId': '69276398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276399&x=505',
		'title': '',
		'imageId': '69276399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276397&x=505',
		'title': '',
		'imageId': '69276397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276381&x=505',
		'title': '',
		'imageId': '69276381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980574&docid=69276384&x=505',
		'title': '',
		'imageId': '69276384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980574';

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