var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419609&x=480',
		'title': '',
		'imageId': '68419609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419610&x=480',
		'title': '',
		'imageId': '68419610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419611&x=480',
		'title': '',
		'imageId': '68419611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419612&x=480',
		'title': '',
		'imageId': '68419612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419613&x=480',
		'title': '',
		'imageId': '68419613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419614&x=480',
		'title': '',
		'imageId': '68419614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419616&x=480',
		'title': '',
		'imageId': '68419616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419617&x=480',
		'title': '',
		'imageId': '68419617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419618&x=480',
		'title': '',
		'imageId': '68419618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419619&x=480',
		'title': '',
		'imageId': '68419619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419620&x=480',
		'title': '',
		'imageId': '68419620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419621&x=480',
		'title': '',
		'imageId': '68419621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419622&x=480',
		'title': '',
		'imageId': '68419622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419623&x=480',
		'title': '',
		'imageId': '68419623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419624&x=480',
		'title': '',
		'imageId': '68419624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419625&x=480',
		'title': '',
		'imageId': '68419625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419626&x=480',
		'title': '',
		'imageId': '68419626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419627&x=480',
		'title': '',
		'imageId': '68419627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419629&x=480',
		'title': '',
		'imageId': '68419629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419630&x=480',
		'title': '',
		'imageId': '68419630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419631&x=480',
		'title': '',
		'imageId': '68419631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419632&x=480',
		'title': '',
		'imageId': '68419632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943263&docid=68419633&x=480',
		'title': '',
		'imageId': '68419633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943263';

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